Method and device to monitor patients with kidney disease

ABSTRACT

A medical monitoring device for monitoring electrical signals from the body of a subject is described. The medical monitoring device monitors electrical signals originating from a cardiac cycle of the subject and associates each cardiac cycle with a time index. The medical monitoring device applies a forward computational procedure to generate a risk score indicative of hyperkalemia, hypokalemia or arrhythmia of the subject. The medical monitoring device can adjust the forward computational procedure based upon clinical data obtained from the subject.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Divisional of U.S. patent application Ser. No. 13/844,257 filed Mar. 15, 2013, which is a Continuation-in-part of U.S. patent application Ser. No. 13/424,525 filed Mar. 20, 2012 now U.S. Pat. No. 9,700,661, which claims benefit of and priority to U.S. Provisional Application No. 61/480,544 filed Apr. 29, 2011, now expired.

This application is also a Continuation-in-part of U.S. patent application No. 13/424,429 filed Mar. 20, 2012 now U.S. Pat. No. 9,561,316, and is a Continuation-in-part of U.S. patent application Ser. No. 13/424,479 filed Mar. 20, 2012, now U.S. Pat. No. 9,192,707 which claims benefit of and priority to U.S. Provisional Application No. 61/480,532 filed Apr. 29, 2011, now expired.

This application is also a Continuation in part of U.S. patent application Ser. No. 13/451,461 filed Apr. 19, 2012, now U.S. Pat. No. 9,456,755. The disclosures of each of the above-identified applications are hereby incorporated by reference in their entirety.

FIELD OF THE INVENTION

The invention relates to an electronic medical device for monitoring a mammal with kidney disease and issuing alerts if a kidney disease condition of the subject worsens. The systems and methods of the invention include an electronic circuit, sensors, a computer processor, a computational procedure and telecommunication means. The invention further relates to methods for signal processing and parameter identification.

BACKGROUND

Dialysis simulates kidney function by periodically removing waste solutes and excess fluid such as urea and ions from a patient's blood. This is accomplished by allowing the body fluids, usually blood, to come into close proximity with a dialysate, which is a fluid that serves to cleanse the blood and that actively removes the waste products including salts and urea, and excess water. Each dialysis session lasts a few hours and may typically be repeated as often as three times a week or more, such as 7 days a week.

Although effective at removing wastes from blood, dialysis treatments performed at dialysis centers are administered intermittently and therefore fail to replicate the continuous waste removal aspect of a natural and functioning kidney. Once a dialysis session is completed, fluid and other substances such as the sodium and potassium salts immediately begin to accumulate again in the tissues of the patient. Notwithstanding the benefits of dialysis, statistics indicate that three out of five dialysis patients die within five years of commencing treatment. Studies have shown that increasing the frequency and duration of dialysis sessions can improve the survivability of dialysis patients. Increasing the frequency and duration of dialysis sessions more closely resembles continuous kidney function. However, the requirement for patients to travel to the dialysis centers and the costs associated with the hemodialysis procedure itself pose an upper limit on the frequency of dialysis procedures.

Another complication is that as blood potassium levels increase between dialysis sessions, patients become more susceptible to life threatening arrhythmias. Similarly, low concentration of potassium can be dangerous by causing muscle weakness. Significant deviations from a normal physiological range of potassium must be detected and prevented to avoid worsening of patient conditions. In particular, patients with kidney disease (KD) are not able to adequately regulate bodily fluid levels and common blood solutes such as potassium ion. As such, KD patients are at risk for developing hyperkalemia (high blood potassium concentration) or hypokalemia (low blood potassium concentration). Normal blood potassium level is from 3.5 to 5.0 mEq; however, KD patients may tend to fall outside this range between treatments. Hyperkalemia and hypokalemia can lead to heart palpitations and arrhythmias.

Since patients with kidney failure cannot effectively eliminate potassium from their bodies, potassium must be removed during hemodialysis sessions. Between dialysis sessions of hyperkalemic patients, serum potassium concentration increases gradually until the next dialysis session. This increase in the potassium concentrations is a major cause of the increased rate of cardiovascular complications that is observed in the patients with kidney disease. Approximately 30% of these patients have atrial fibrillation, and according to the 2003-2005 USRDS data, an additional 6.2% deaths/year are caused by cardiac arrests or arrhythmias (“Primer on Kidney Diseases”, 5th Ed., A. Greenberg et al., pp 504-5). Hence, there is a clear unmet need for monitoring patients between dialysis sessions. There is also an unmet need for monitoring and managing hyperkalemia, hypokalemia or arrhythmias in patients with KD.

In addition to being in danger of exposure to the complications of abnormal potassium levels between dialysis sessions, many kidney patients also experience an extreme variation of potassium levels during their dialysis sessions that increases their health risk. During hemodialysis, there is a net addition of base in the form of bicarbonate, which increases the cellular uptake of potassium and attenuates the overall removal of potassium from the cells. Hence, patients may initially experience an increase in their intracellular potassium levels followed by a reduction in levels resulting in hypokalemia. This condition is of particular concern to patients with underlying cardiac conditions. As such, there is a clear unmet need to guard against risk to patients during the dialysis sessions and during the post-treatment period.

SUMMARY OF THE INVENTION

The present invention in one or more embodiments provides a medical system for monitoring serum potassium concentration in a subject, the medical system including a medical device, a processor and a communication device, wherein the medical device includes at least one of an electromyogram sensor and an electrocardiogram sensor for detecting a change in muscle or nerve activity of a subject and for producing at least one output electrical signal based on the change in muscle or nerve activity as detected by at least one received electrical signal, the output electrical signal being indicative of a serum potassium concentration of the subject, wherein the processor applies a forward computational procedure to the at least one received electrical signal to generate a risk score for hyperkalemia, hypokalemia or arrhythmia, and wherein the communication device indicates a condition of hyperkalemia, hypokalemia or arrhythmia of the subject based on the risk score.

In certain embodiments, the medical device may be provided alone and the medical system does not necessarily have to include the processor or the communication device.

In certain embodiments, the medical system for monitoring serum potassium concentration in the subject may further include a pulse generator for producing one or more pulse sets, and one or more detectors or pulse-sensing electrodes for mediating communication between the pulse generator and the subject, such that the change of muscle or nerve activity in the subject is initiated by the one or more pulse sets and mediated by the one or more detectors or pulse-sensing electrodes.

In certain embodiments, the medical device as employed in the medical system for monitoring serum potassium concentration in the subject and receiving at least one electrical signal may be externally applicable to the subject or is implantable in the subject.

The one or more detectors may include at least one of a nerve electrogram amplifier, an accelerometer, a strain gauge and a pressure gauge for detecting the change in muscle or nerve activity.

In certain embodiments, the pulse generator as employed in the medical system for monitoring serum potassium concentration in the subject may be provided with an pulsing schedule such that the one or more pulse sets include a first pulse set and a second pulse set, the first and second pulse sets are produced according to one or more of the following pulsing rules: i) the first and second pulse sets are separated in time by 0.5 to 5 seconds; ii) the first and second pulse sets each independently include 3 to 10 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 50 Hz.

In certain embodiments, the pulsing schedule of the pulse generator as employed in the medical system for monitoring serum potassium concentration in the subject may be provided such that the first and second pulse sets are produced according to two or more of the following pulsing rules: i) the first and second pulse sets are separated in time by 1.5 to 2.5 seconds; ii) the first and second pulse sets each independently include 4 to 6 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 10 Hz.

In certain embodiments, the medical system for monitoring serum potassium concentration in the subject may further include an amplifier for mediating communication between the pulse generator and the one or more electrodes.

In certain embodiments, the electromyogram sensor as employed in the medical system for monitoring serum potassium concentration in the subject may be a skeletal muscle strain sensor or a blood pressure sensor.

In certain embodiments, the electrocardiogram sensor as employed in the medical system for monitoring serum potassium concentration in the subject may include one or more electrocardiogram electrodes for receiving one or more electrocardiogram features from the subject, the one or more electrocardiogram features including at least one of features F1 through F16 tabulated in Table 1 below, and in certain particular instances, the one or more electrocardiogram features including T-wave amplitude, R-wave amplitude, T-slope, ratio of T-wave amplitude to R-wave amplitude (T/R ratio), and T-wave flatness.

In certain embodiments, the medical system for monitoring serum potassium concentration in the subject may further include an electrocardiogram algorithm for producing an output on serum potassium concentration in the subject based on a value of the one or more electrocardiogram features, wherein the electrocardiogram algorithm includes one or more of the following operational rules: i) the output on the serum potassium concentration being a function of the R-wave amplitude; ii) the output on the serum potassium concentration being a function of the T-wave amplitude; iii) the output on the serum potassium concentration being a function of the T/R ratio; and iv) the output on the serum potassium concentration being a function of the T-wave flatness.

In certain embodiments, the output on the serum potassium concentration produced according to the electrocardiogram algorithm may be a difference between a serum potassium concentration at time t₁ of the subject and a baseline potassium concentration at time t₀ of the subject, time t₁ being at least 10 minutes apart from t₀.

In certain embodiments, the baseline serum potassium concentration may be a value selected from the group consisting of a baseline serum potassium concentration of the subject obtained at a periodic blood draw, a baseline serum potassium concentration of the subject obtained at the onset of a dialysis session, and a baseline serum potassium concentration of the subject at the end of a dialysis session.

In certain embodiments, the R-wave amplitude of operational rule i) may be a difference between an R-wave amplitude at time t₁ of the subject and a baseline R-wave amplitude at time t₀ of the subject, the T-wave amplitude of operational rule ii) may be a difference between a T-wave amplitude at time t₁ of the subject and a baseline T-wave amplitude at time t₀ of the subject, the T/R ratio of operational rule iii) may be a difference between a T/R ratio at time t₁ of the subject and a baseline T/R ratio at time t₀ of the subject, and the T-wave flatness of operational rule iv) may be a difference between an T-wave flatness at time t₁ of the subject and a baseline T-wave flatness at time t₀ of the subject.

In certain embodiments, the baseline potassium concentration of the subject may be 3.0 to 5.5 mM at time t₀.

In certain embodiments, the one or more electrocardiogram electrodes may include one or more of lead II, lead V2, lead V3 and lead V4.

In certain embodiments, the one or more electrocardiogram electrodes may consist only of lead II.

In certain embodiments, the electrocardiogram algorithm may include one or more of the operational rules i), iii) and iv).

In certain embodiments, the output on the serum potassium concentration produced according to the electrocardiogram algorithm may be in positive correlation with the R-wave amplitude.

In certain embodiments, the output on the serum potassium concentration produced according to the electrocardiogram algorithm may be is in negative correlation with the T-wave amplitude.

In certain embodiments, the output on the serum potassium concentration produced according to the electrocardiogram algorithm may be in negative correlation with the T-slope.

In certain embodiments, the output on the serum potassium concentration produced according to the electrocardiogram algorithm may be in positive correlation with the T-wave flatness.

In certain embodiments, the one or more electrocardiogram electrodes as employed in the medical system for monitoring serum potassium concentration in the subject may include a first set of electrodes consisting of lead II, lead V2, lead V3 and lead V4, and a second set of electrodes consisting of lead II only, wherein the electrocardiogram algorithm further includes a calibration rule that the medical system is operationally calibrated if one or more of the following is met: v) a difference between the outputs according to rule ii) from the first set of electrodes and the second set of electrodes is no greater than 20%; vi) a difference between the outputs according to rule iii) from the first set of electrodes and the second set of electrodes is no greater than 20%; and vii) a difference between the outputs according to rule iv) from the first set of electrodes and the second set of electrodes is no greater than 20%.

In certain embodiments, the one or more electrocardiogram electrodes as employed in the medical system for monitoring serum potassium concentration in the subject may include a first set of electrodes consisting of lead II, lead V2, lead V3 and lead V4, and a second set of electrodes consisting of lead II only, wherein the electrocardiogram algorithm further includes a calibration rule that the medical system is operationally calibrated if one or more of the following is met: v) a difference between the outputs according to rule ii) from the first set of electrodes and the second set of electrodes is no greater than 10%; vi) a difference between the outputs according to rule iii) from the first set of electrodes and the second set of electrodes is no greater than 10%; and vii) a difference between the outputs according to rule iv) from the first set of electrodes and the second set of electrodes is no greater than 10%.

In certain embodiments, the medical system for monitoring serum potassium concentration in the subject may further include a dialysis device such that the subject is under serum potassium concentration monitoring while being subject to a dialysis treatment by the dialysis device.

In certain embodiments, the forward computational procedure as employed in the medical system for monitoring serum potassium concentration in the subject may provide a non-weighted or weighted sum of the feature scores P1, P6, P7, P8 and P10 to calculate the risk score with the feature scores each assigned a zero or non-zero value based on the following: P1 being a feature score based on P-R interval, P6 being a feature score based on S-T segment depression, P7 being a feature score based on T-wave inversion, P8 being a feature score based on U-wave amplitude, and P10 being a feature score based on heart rate variation.

In certain embodiments, the forward computational procedure as employed in the medical system for monitoring serum potassium concentration in the subject may provide a non-weighted or weighted sum of the feature scores P2, P3, P4, P5, P9 and P10 each assigned a zero or non-zero value based on the following: P2 being a feature score based on QRS width, P3 being a feature score based on Q-T interval, P4 being a feature score based on P-wave amplitude, P5 being a feature score based on P-wave peak, P9 being a feature score based on T-wave amplitude, and P10 being a feature score based on heart rate variation.

In certain embodiments, the forward computational procedure as employed in the medical system for monitoring serum potassium concentration in the subject may provide a non-weighted or weighted sum of the feature scores P1 through P16 each assigned a zero or non-zero value based on the following: P1 being a feature score based on P-R interval, P2 being a feature score based on QRS width, P3 being a feature score based on Q-T interval, P4 being a feature score based on P-wave amplitude, P5 being a feature score based on P-wave peak, P6 being a feature score based on S-T segment depression, P7 being a feature score based on T-wave inversion, P8 being a feature score based on U-wave amplitude, P9 being a feature score based on T-wave amplitude, P10 being a feature score based on heart rate variation, P11 being a feature score based on ratio of T-wave amplitude to R-wave amplitude, P12 being a feature score based on T-wave flatness, P13 being a feature score based on T-slope, P14 being a feature score based on T-wave peak to T-wave end (TpkTend), P15 being a feature score based on QT/TpkTend, and P16 being a feature score based on T-wave phase type.

The present invention in one or more embodiments further provides a method for monitoring serum potassium concentration in a subject, the method including the steps of applying to a subject one or more pulse sets generated by a pulse generator, connecting at least one electromyogram sensor to the subject to receive at least one electrical signal from the subject in response to the one or more pulse sets, generating an output from the at least one electromyogram sensor in response to the at least one electrical signal, the output being indicative of a level of serum potassium concentration of the subject, applying a forward computational procedure to the output to generate a risk score, and issuing an alert indicating a condition of hyperkalemia, hypokalemia or arrhythmia of the subject based on the risk score.

In certain embodiments, the method for monitoring serum potassium concentration in the subject may be carried out such that the one or more pulse sets are generated according to a pulsing schedule such that the one or more pulse sets include a first pulse set and a second pulse set, the first and second pulse sets are produced according to one or more of the following pulsing rules: i) the first and second pulse sets are separated in time by 0.5 to 5 seconds; ii) the first and second pulse sets each independently include 3 to 10 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 50 Hz.

In certain embodiments, the pulsing schedule of the pulse generator employed in the method for monitoring serum potassium concentration in the subject may be provided such that the first and second pulse sets are produced according to two or more of the following pulsing rules: i) the first and second pulse sets are separated in time by 1.5 to 2.5 seconds; ii) the first and second pulse sets each independently include 4 to 6 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 10 Hz.

The present invention in one or more embodiments further provides a method for monitoring serum potassium concentration in a subject, the method including: connecting at least one electrocardiogram sensor to a subject to receive one or more electrocardiogram features; applying an electrocardiogram algorithm to the one or more electrocardiogram features to obtain an indicator for serum potassium concentration of the subject, wherein the electrocardiogram algorithm includes one or more of the following operational rules: i) the output on the serum potassium concentration being a function of the R-wave amplitude; ii) the output on the serum potassium concentration being a function of the T-wave amplitude; iii) the output on the serum potassium concentration being a function of the T/R ratio; and iv) the output on the serum potassium concentration being a function of the T-wave flatness; applying a forward computational procedure to the output to generate a risk score; and issuing an alert indicating a condition of hyperkalemia, hypokalemia or arrhythmia of the subject based on the risk score.

In certain embodiments, a computer-readable medium has instructions that, when executed by a blood fluid removal device, cause the device to (i) initiate a blood fluid removal session with initial system parameters; (ii) acquire a first set of data regarding one or more patient physiological parameters; store the first data set in a most effective to date data set memory; (iii) associate the initial system parameters in an increased effectiveness lookup table with the first data set; (iv) adjust at least one parameter of the blood fluid removal session to arrive at adjusted system parameters; (v) acquire a second set of data regarding the one or more patient physiological parameters after the at least one parameter of the blood fluid removal session has been adjusted; and (vi) if at least one value of the second data set is closer to a target value than a corresponding at least one value of the first data set: replace the first data set in the most effective to date data set memory with the second data set; store in the increased effectiveness lookup table data regarding the second data set; and associate data regarding the adjusted system parameters with the second data set.

Other objects, features and advantages of the present invention will become apparent to those skilled in the art from the following detailed description. It is to be understood, however, that the detailed description and specific examples, while indicating some embodiments of the present invention are given by way of illustration and not limitation. Many changes and modifications within the scope of the present invention may be made without departing from the spirit thereof, and the invention includes all such modifications.

BRIEF DESCRIPTION OF FIGURES

FIG. 1 is an exemplary embodiment of an EKG monitor.

FIG. 2 is an exemplary embodiment of an EKG monitor having additional functionality to supply an electrical stimulation to muscle tissue and a sensor to observe a mechanical response.

FIG. 3 is an illustrative mechanical response of muscle tissue to electrical stimulation depending upon a potassium environment.

FIG. 4 is a graphical representation of discrete computational procedures to determine feature scores in accordance with some embodiments of the invention.

FIG. 5 is a graphical representation of continuous computational procedures to determine feature scores in accordance with some embodiments of the invention.

FIG. 6 is a flow chart of a process to issue an alert in accordance with some embodiments.

FIG. 7 is shows a disease risk score trend.

FIG. 8 shows the application of a correction to minimize error in accordance with some embodiments.

FIG. 9 shows a monitoring of a medical system or device in accordance with some embodiments.

FIG. 10 shows an additional system for monitoring a medical device in accordance with some embodiments.

FIG. 11 shows the acquisition of feature values for an ECG.

FIG. 12 shows a process for setting feature scores on a common scale in accordance with some embodiments.

FIG. 13 shows a process for issuing an alert for hypokalemia or hyperkalemia in accordance with some embodiments.

FIGS. 14-18 show flow diagrams illustrating methods in accordance with certain embodiments described herein.

FIGS. 19-25 show flow diagrams illustrating methods in accordance with certain embodiments described herein.

FIG. 26 shows a schematic graphical representation of monitored prophetic data shown for purposes of illustration.

FIGS. 27-28 each show a medical system in accordance with some embodiments;

FIG. 29 shows standard locations for ECG electrodes.

FIG. 30 depicts an exemplified flow chart for the ECG assisted potassium concentration monitoring.

FIG. 31 depicts a timing diagram of exemplified pulse trains.

FIG. 32 depicts an exemplified experimental setup.

FIG. 33 demonstrates time (in milli-seconds) versus force (arbitrary units) trace of the skeletal muscle while pulse stimulation according to the Example(s).

FIG. 34 demonstrates selection of data points computing mechanical responses from a pressure strain gauge.

FIG. 35 shows the computed response CR1 as a function of the serum potassium concentration.

FIG. 36 shows the ECG markers.

FIG. 37 shows an exemplified calculation of T-slope.

FIG. 38 shows changes in R-wave amplitude (in arbitrary units) during dialysis on best lead.

FIG. 39 shows changes in T-wave amplitude (in arbitrary units during dialysis on best lead.

FIG. 40 shows change in T/R amplitude ratio during dialysis on best lead.

FIG. 41 shows change in T-wave flatness during dialysis on best lead.

FIG. 42 shows change in T-slope during dialysis on best lead.

FIG. 43 shows R-wave amplitude (in arbitrary units) during dialysis on lead II.

FIG. 44 shows change in T-wave amplitude (in arbitrary units) during dialysis on lead II.

FIG. 45 shows T/R amplitude ratio during dialysis on lead II.

FIG. 46 shows change in T-slope during dialysis on lead II.

FIG. 47 shows T-wave flatness during dialysis on lead II.

DETAILED DESCRIPTION OF THE INVENTION

Unless defined otherwise, all technical and scientific terms used herein generally have the same meaning as commonly understood by one of ordinary skill in the relevant art.

The articles “a” and “an” are used herein to refer to one or to more than one (i.e., to at least one) of the grammatical object of the article. By way of example, “an element” means one element or more than one element.

“Chronic kidney disease” (CKD) is a condition characterized by the slow loss of kidney function over time. The most common causes of CKD are high blood pressure, diabetes, heart disease, and diseases that cause inflammation in the kidneys. Chronic kidney disease can also be caused by infections or urinary blockages. If CKD progresses, it can lead to end-stage renal disease (ESRD), where the kidneys function is inadequate to sustain life without supplemental treatment.

The terms “communicate” and “communication” include but are not limited to, the connection of system electrical elements, either directly or wirelessly, using optical, electromagnetic, electrical or mechanical connections, for data transmission among and between said elements.

The term “comprising” includes, but is not limited to, whatever follows the word “comprising.” Thus, use of the term indicates that the listed elements are required or mandatory but that other elements are optional and may or may not be present.

The term “consisting of” includes and is limited to whatever follows the phrase the phrase “consisting of.” Thus, the phrase indicates that the limited elements are required or mandatory and that no other elements may be present.

A “control system” consists of combinations of components that act together to maintain a system to a desired set of performance specifications. The performance specifications can include sensors and monitoring components, processors, memory and computer components configured to interoperate.

A “controller” or “control unit” is a device which monitors and affects the operational conditions of a given system. The operational conditions are typically referred to as output variables of the system, which can be affected by adjusting certain input variables.

A “subject” or “patient” is a member of any animal species, preferably a mammalian species, optionally a human. The subject can be an apparently healthy individual, an individual suffering from a disease, or an individual being treated for an acute condition or a chronic disease.

The term “programmable” as used herein refers to a device using computer hardware architecture and being capable of carrying out a set of commands, automatically.

The term “sensory unit” refers to an electronic component capable of measuring a property of interest.

The terms “treating” and “treatment” refer to the management and care of a patient having a pathology or condition. Treating includes administering one or more embodiments of the present invention to prevent or alleviate the symptoms or complications or to eliminate the disease, condition, or disorder.

As used herein, “treatment” or “therapy” refers to both therapeutic treatment and prophylactic or preventative measures. “Treating” or “treatment” does not require complete alleviation of signs or symptoms, does not require a cure, and includes protocols having only a marginal or incomplete effect on a patient.

Electrocardiogram or ECG is a time varying waveform, produced by the electrical activity of the cardiac muscle and the associated electrical network within the myocardium. Term is used interchangeably for the tracing that is available from the surface of the subject, or from an implantable or external device.

The term “P-R interval” refers to the length of time from the beginning of the P wave to the beginning of the QRS complex.

The term “QRS width” refers to the length of time of the QRS complex.

The term “Q-T interval” refers to the length of time from the beginning of the QRS complex to the end of the T-wave.

The term “Q-T dispersion” refers to the difference between the maximum and minimum QT intervals measured in a time period.

The term “P-wave amplitude” refers to the maximum potential reached by the P-wave.

The term “T-wave amplitude” refers to a numerical measurement of the magnitude of the portion of the electrocardiographic representation of the repolarization of the ventricles of the heart.

The term “R-wave amplitude” refers to a numerical measurement of the magnitude of the portion of the electrocardiographic signal corresponding to the depolarization of the ventricles of the heart.

The term “T-slope” refers to a numerical measurement corresponding to the slope of the line drawn from the peak of the T-wave to the end of the T-wave. The end of the T wave is defined as the intercept between the isoelectric line with the tangent drawn through the maximum down slope of the T wave.

The term “ratio of T-wave amplitude to R-wave amplitude (T/R ratio)” refers to the numerical ratio of the T-wave amplitude to the R-wave amplitude.

The term “T-wave flatness” refers to a numerical representation of the degree that an electrocardiographic T-wave has a low amplitude and is more spread out and less peaked.

The term “P-wave peak” refers to the rate of change in the P wave in units of potential change per unit time.

The term “S-T segment” refers to the interval between the QRS complex and the beginning of the T wave. S-T segment is depressed if it has a downward concavity.

The term “T wave” refers to the wave after the QRS complex and the S-T segment. An inverted T wave has a negative amplitude.

The term “U wave amplitude” refers to the maximum potential of a wave that follows the T wave. The U wave is not always observed in a cardiac cycle.

The term “heart rate variability” refers to the time difference between the peaks of R-waves over time in cardiac cycles.

The term “scalar quantity” or “scalar value” refers to a property, value or quantity that is completely expressed in terms of magnitude.

The term “feature,” “cardiac feature,” “ECG feature” or “feature of a cardiac cycle” refers to a property of the a cardiac cycle, as observed by ECG or other means, that is reducible to numerical form. Features include, but are not limited to, P-R interval, QRS width, Q-T interval, P-wave amplitude, S-T segment depression, T wave inversion, U wave amplitude and T wave amplitude.

The term “feature value” refers to a feature of a cardiac cycle expressed as a scalar quantity or qualitative property such as depressed or inverted.

The term “feature score” refers to a feature value that has been converted to a common scale.

The term “common scale” refers to a unitless scale for expressing feature values where the common scale has a minimum possible value and a maximum possible value and the feature values differ in units or lack a common range of magnitude. In some embodiments, the common scale has a minimum value of 0 and a maximum value of 1.

The term “determinant” or “determinate value” refers to a quantity or criterion that a feature value or feature score is compared to for the purposes of calculating a risk score.

The term “risk score” or “disease risk score” refers to value calculated with one or more feature values or scores that indicates an undesirable physiological state of the patient. The term “risk score” in certain instances refers to a numerical representation of the current degree of the risk a patient is at for a particular disease, condition, or adverse event, such as hospitalization, life threatening arrhythmias or death.

The term “exponential factor,” “value k,” or “variable k” refers to a modifiable variable present in an exponent (e.g. e^(k)) in a computational procedures used to convert a feature value to a feature score.

The term “weighting factor” or “weighting coefficient” refers to an adjustable coefficient to terms for addition to calculate a disease risk score.

The term “hypokalemia” refers to a physiological state wherein the concentration of potassium ions in the blood serum or interstitial fluid is less than the normal physiological range of 3.5 to 5 mEq/L.

The term “hyperkalemia” refers to a physiological state wherein the concentration of potassium ions in the blood serum or interstitial fluid is more than the normal physiological range of 3.5 to 5 mEq/L.

“Kidney disease” (KD) is a condition characterized by the slow loss of kidney function over time. The most common causes of KD are high blood pressure, diabetes, heart disease, and diseases that cause inflammation in the kidneys. Kidney disease can also be caused by infections or urinary blockages. If KD progresses, it can lead to end-stage renal disease (ESRD), where kidney function is inadequate to sustain life without supplemental treatment. KD can be referred to by different stages indicated by Stages 1 to 5. Stage of KD can be evaluated by glomerular filtration rate of the renal system. Stage 1 KD can be indicated by a GFR greater than 90 mL/min/1.73 m² with the presence of pathological abnormalities or markers of kidney damage. Stage 2 KD can be indicated by a GFR from 60-89 mL/min/1.73 m², Stage 3 KD can be indicated by a GFR from 30-59 mL/min/1.73 m² and Stage 4 KD can be indicated by a GFR from 15-29 mL/min/1.73 m². A GFR less than 15 mL/min/1.73 m² indicates Stage 5 KD or ESRD. It is understood that KD, as defined in the present invention, contemplates KD regardless of the direction of the pathophysiological mechanisms causing KD and includes CRS Type II and Type IV and Stage 1 through Stage 5 KD among others. Kidney disease can further include acute renal failure, acute kidney injury, and worsening of renal function. In the Cardiorenal Syndrome (CRS) classification system, CRS Type I (Acute Cardiorenal Syndrome) is defined as an abrupt worsening of cardiac function leading to acute kidney injury; CRS Type II (Chronic Cardiorenal syndrome) is defined as chronic abnormalities in cardiac function (e.g., chronic congestive heart failure) causing progressive and permanent kidney disease; CRS Type III (Acute Renocardiac Syndrome) is defined as an abrupt worsening of renal function (e.g., acute kidney ischaemia or glomerulonephritis) causing acute cardiac disorders (e.g., heart failure, arrhythmia, ischemia); CRS Type IV (Chronic Renocardiac syndrome) is defined as kidney disease (e.g., chronic glomerular disease) contributing to decreased cardiac function, cardiac hypertrophy and/or increased risk of adverse cardiovascular events; and CRS Type V (Secondary Cardiorenal Syndrome) is defined as a systemic condition (e.g., diabetes mellitus, sepsis) causing both cardiac and renal dysfunction (Ronco et al., Cardiorenal syndrome, J. Am. Coll. Cardiol. 2008; 52:1527-39).

The term “electromyogram sensor” refers to a device for sensing the electrical or mechanical activity produced as a result of the voluntary or stimulated contraction of skeletal muscles of the body.

The term “electrocardiogram sensor” refers to a device for sensing of the electrical activity of the heart. It typically consists of a set of electrodes along with associated electronics. Electrodes may be applied directly to the skin or can be part of an implanted device.

The term “serum potassium concentration” in certain instances refers to “blood potassium concentration”.

The term “communication device” or “communication unit” refers to a device such as a telemetry system or any other alert system such as an audio feedback device, which can communicate monitoring results to a patient and/or a medical care personnel as needed. The term “communication device” in certain instances refers to a device which serves the purpose of sending information with its transmission capabilities to another device which receives the information using receiving capabilities. It can use electromagnetic, optical or acoustic means for signal transmission.

The term “pulse generator” refers to an electronic circuit which generates electrical pulses in accordance with a predetermined sequence, to be delivered through electrodes to an external load, typically an organ such as a skeletal muscle, heart or nerve tissue. In certain instances, a pulse generator is or includes an electrical pulse generator.

The term “pulse-sensing electrodes” refers to devices which can detect the presence of electrical or mechanical activity of the tissue, such as the skeletal muscle or nerves, and convert them into electrical signals.

The term “pulsing schedule” refers to a particular scheme of delivering electrical pulses at specified times, frequencies, and amplitudes.

The term “amplifier” refers to an electronic device that increases the power of a signal and provides impedance matching. It can be used to increase the voltage and/or current produced by the pulse generator, which in turn is delivered to the tissue.

The term “skeletal muscle strain sensor” refers to a device which detects the changes in the strain of an artificial device as a result of changes in the contractile tone of a skeletal muscle. Output of this transducer is usually an electrical voltage or a current that is proportional to either the absolute value of the strain or to the changes in the strain.

The term “blood pressure sensor” refers to a sensor designed to detect the pressure changes within a pressure cuff worn around an extremity, such as an arm or a leg. Analysis of the pressure waveform produces the signals correlating to the changes in the contractile tone of a skeletal muscle as well as the information relating to the blood pressure such as the diastolic and systolic blood pressure and heart rate.

The term “lead II” refers to the electrocardiographic voltage signal between the left leg electrode and the right arm electrode.

The term “lead V2” refers to the electrocardiographic voltage signal between an electrode located in the fourth intercostal space (between ribs 4 and 5) just to the left of the sternum, and Wilson's central terminal, which is the average of the three limb leads (I, II, and III). Leads I, II and III are the voltages between the left arm and right arm electrode, between the left leg and right arm, and between the left leg and left arm electrode, respectively.

The term “lead V3” refers to the electrocardiographic voltage signal between an electrode located centrally between the V2 and V4 electrodes, and Wilson's central terminal, which is the average of the three limb leads (I, II, and III). Leads I, II, and III are the voltages between the left arm and right arm electrode, between the left leg and right arm, and between the left leg and left arm electrode, respectively.

The term “lead V4” refers to the electrocardiographic voltage signal between an electrode located in the fifth intercostal space (between ribs 5 and 6) in the mid-clavicle line, and Wilson's central terminal, which is the average of the three limb leads (I, II, and III). Leads I, II and III are the voltages between the left arm and right arm electrode, between the left leg and right arm, and between the left leg and left arm electrode, respectively.

Monitoring of Dialysis Treatment

As discussed above, a patient's serum potassium level can be unstable and/or drift after dialysis treatment. Due to the requirement for proper polarization for cardiac function, changes in potassium serum levels after treatment are a contributor to arrhythmias and other cardiac complications in patients undergoing kidney dialysis therapy. During dialysis treatment, small solutes in the blood or other body fluids, such as potassium ions, freely interchange with a dialysate fluid. However, due to the action of the sodium-potassium pump, the vast majority of potassium in the body is present intracellularly and not directly accessible during dialysis. Due to the sequestering of potassium within cells, potassium serum levels can change significantly following dialysis treatment sessions. Specifically, dialysis treatment can enhance the movement of potassium ions into the cells, which can efflux out of the cells following treatment leading to significant changes in potassium ion concentration over time.

Normal serum potassium level ranges from 3.5 to 5 mEq/L, wherein a dialysate solution is at a lower concentration to drive the movement of potassium ions from the serum to the dialysate. As dialysis functions to remove potassium ions from the blood serum as a result of a concentration gradient between the patient's blood serum and the dialysate, additional potassium ions are drawn out from cells into the intracellular fluids to provide for further removal of potassium ions. However, the movement of potassium ions from inside cells to the extracellular fluids is not consistent in all patients. In particular, acid-base balance can affect the influx and efflux of potassium ions from cells. Tonicity, glucose and insulin concentrations and catecholamine activity also affect the balance of potassium between cells and the extracellular fluid. Patients can experience slight alkalosis during at the beginning of dialysis treatment, which can persist during a multi-hour dialysis treatment. Alkalosis is caused by the bicarbonate present in the dialysate, which acts as a pH buffer. During alkalosis, it is possible for intracellular potassium ion concentrations to increase even while the serum potassium ion concentration is simultaneously being reduced by dialysis. As such, the rate of potassium removal is not uniform during dialysis.

At the end of dialysis treatment, an efflux of intracellular potassium back into the blood serum can result in hyperkalemia. Hyperkalemia can also occur through the accumulation of potassium in the patient's diet. Conversely, potassium in the blood serum can remain low following dialysis resulting in hypokalemia. The innovations disclosed herein enable the monitoring of a patient's serum potassium level during dialysis, after dialysis or both during and after dialysis. In certain embodiments, ECG signals from the patient can be evaluated to determine potassium status. For example, hyperkalemia can cause a reduction in P wave amplitude, peaked or inverted T waves as well as changes in the time width of the QRS complex.

Using the innovations described herein, a patient can be monitored for potentially life-threatening hyperkalemia or hypokalemia after a dialysis session possibly before the patient becomes aware of symptoms. In certain embodiments, the information gained regarding the patient's blood serum potassium levels following dialysis can be used to adjust dialysis treatments provided to that patient. For example, a patient that shows a pattern of a high serum potassium levels after dialysis treatment be administered treatment where the amount of potassium salt in the dialysate fluid is adjusted, for example by a gradient, from a high concentration at the beginning of dialysis to a lower concentration at the end of dialysis to reduce the large changes in potassium plasma levels during treatment that can result in hyperkalemia. Alternatively, a patient showing a tendency toward hyperkalemia can receive more frequent treatments and/or more frequent treatments of shorter duration to affect a greater degree of potassium removal. A patient can even be advised to modify their diet passed upon blood serum potassium levels following dialysis. Similarly, a patient showing a tendency toward hypokalemia following dialysis can receive less frequent treatment or treated with a dialysate fluid having a higher concentration of potassium salt.

In some embodiments, serum potassium concentration, electrolyte levels and or pH can be monitored before and/or during a dialysis treatment for better management of electrolytes, including potassium, in the patient. Any suitable transducer or sensor can be employed to detect pH or various electrolytes in the blood prior to initiation of a dialysis treatment. In embodiments, the transducer or sensor is an ion-selective electrode configured to detect H⁺ ions (pH), K⁺ ions, Na⁺ ions, Ca²⁺ ions, Cl⁻ ions, phosphate ions, magnesium ions, acetate ions, amino acids ions, or the like. Data from the pH and/or ion sensors/electrodes can be employed to appropriately select an initial dialysate composition prior to the beginning of a dialysis treatment. Data acquired from the sensors can be transmitted to a processor or other device or devices in communication with a dialysis treatment system, wherein the initial pH and electrolyte composition of a dialysate or a replacement fluid can be adjusted. The pH and electrolyte concentration of the fluid (dialysate or replacement fluid) can be adjusted in any suitable manner.

In particular, data from pH and/or ion sensors/electrodes can be transmitted to be available to a healthcare provider through the processor or other device and used to adjust the concentration of electrolytes or pH in a dialysate or replacement fluid. In some embodiments, the dialysate is generated from water or a low-concentration solution present in a dialysate circuit in fluid communication with the patient, wherein one or more pumps controls the addition of one or more infusate solutions to the dialysate circuit to constitute a desired dialysate immediately prior to contact with the patient or a hemodialyzer. The dialysate can be constitute to affect a specific mass transfer of electrolytes from the blood of a patient to the dialysate or from the dialysate to the blood of a patient in a manner to correct any determined electrolyte imbalances or non-ideal electrolyte ranges. Similarly, the amount of a buffer, such as bicarbonate, in the dialysate can be adjusted to vary the amount of bicarbonate uptake by the patient during treatment.

Medical Device

The medical systems and medical devices of the present invention monitor physiological signals from patients. The medical devices provide many advantages including full patient compliance, complete patient mobility, lower maintenance requirements and lower chances for device related infections. The medical devices can be powered with internal batteries and can be implanted or external to the body. Data transmission to and from the devices is accomplished by electromagnetic or electroconductive telemetry means. In embodiments of the invention, the medical devices contain one or multiple sets of sensors. For example, the devices can sense the ECG of a patient and change in activity or posture of the patient. The sensed signals can be stored in memory and transmitted via radio telemetry. Furthermore, the processor units within the medical devices can be used to process the detected or recorded signals.

The ECG signals can be processed to extract features from the ECG signal. These features include but are not limited to P-R interval, QRS width, Q-T interval, QT-dispersion, P-wave amplitude, T-wave amplitude, T/R amplitude ratio, T-slope, P-wave peak, S-T segment depression, Inverted T-waves, U-wave observation, T-wave peak amplitude, Heart Rate Variability. While some features are measured for each cardiac cycle such as the P-R interval, others are calculated as a time average such as heart rate variability.

Many factors affect the features of the ECG. For example, heart rate varies as a result of changes in metabolic demand. During exercise, an increased demand for oxygen causes the heart rate to increase. Correspondingly, the P-R interval decreases during exercise. Another factor that modulates the features of the ECG is changes in the concentrations of the ions in the body. An ion that modulates the ECG and is important for the management of KD patients is potassium ion. In general, changes in potassium concentrations manifest as alterations of some of the features of the ECG. However, these alterations vary from one patient to another patient and can necessitate the individualization of the detection computational procedure as described herein.

In particular, the medical device of the present invention monitors a patient electrocardiogram (ECG) wherein an internal or external processing unit extracts features from the ECG and processes the resulting data. An optional telemetry system or any other alert system, such as an audio feedback device, can communicate the results to the patient and medical care personnel as needed. In certain embodiments, the device has an electrical pulse generator configured to contact the tissue of a patient such as muscle tissue or cardiac tissue, and a sensor to detect a response of the tissue where the response provides an indication of the potassium ion concentration in the extracellular fluid. In another embodiment, the device comprises a pulse generator configured to generate electrical stimulation wherein an electrode delivers electrical stimulation to a tissue such as a skeletal muscle in a patient. The device can include a sensor configured to detect at least one response of the tissue to electrical stimulation, and a processor configured to determine a concentration of potassium ions in the extracellular fluid of the patient as a function of the response. In particular, the processor can be configured to determine a concentration of potassium ions as a function of a sustained contraction of the tissue, for example, or a rippled contraction of the tissue, a rate of relaxation of the tissue, a pulse width of the response, the occurrence of summation in the response or the amplitude of the response. The system can be external, partially implantable or fully implantable. Notably, a healthy level of potassium in the human blood is about 3.5-5 mEq/L, but in patients with KD, the concentration could rise to 6-8 mM. Most patients are dialyzed with hypo-osmotic dialysate solutions where the potassium concentration is fixed at a hypo-osmotic level, such as 2 mM, to assure the transfer of potassium ions from the patient's blood into the dialysate solution.

The medical device can be a unit with no leads or may contain leads and external sensors. Units with no leads such as the Medtronic Reveal® device, or other known devices familiar to those of ordinary skill, may have electrodes for sensing electrocardiograms or for delivering electrical stimulation. Units with leads, such as pacemakers, cardiac resynchronization devices and defibrillators, utilize their leads for sensing electrocardiograms. The medical device may also have other sensors, such as an internal accelerometer and an external pressure sensor, which is external to the device yet still reside inside the patient. The device can contain a power source such as a battery, a computing hardware, a data storage unit such as electronic memory and communication hardware or related systems.

FIG. 1 presents an embodiment of an implantable medical device that may be used to obtain ECG data without the use of leads. However, external embodiments are contemplated by the invention. A monitor 10 is implanted subcutaneously in the upper thoracic region of the patient's body 18 near the patient's heart 16. The monitor 10 comprises a non-conductive header module 12 attached to a hermetically sealed enclosure 14. The enclosure 14 contains the operating system of the monitor 10 and is preferably conductive but can be covered in part by an electrically insulating coating. A first, subcutaneous, sensing electrode A is formed on the surface of the header module 12 and a second, subcutaneous, sensing electrode B is formed by an exposed portion of the enclosure 14. A feed-through extends through the mating surfaces of the header module 12 and the enclosure 14 to electrically connect the first sensing electrode A with the sensing circuitry (not shown) within the enclosure 14, and the conductive sensing electrode B directly to the sensing circuitry.

The electrical signals attendant to the depolarization and re-polarization of the heart 16 referred to as the ECG are sensed across the sensing electrodes A and B. The monitor 10 is sutured to subcutaneous tissue at a desired orientation for electrodes A and B relative to the axis of the heart 16 to detect and record the ECG in a sensing vector A-B for subsequent uplink telemetry transmission to an external programmer (not shown). FIG. 1 shows only one possible orientation of the sensing electrodes A and B and sensing vector A-B. It will be understood by those of ordinary skill in the art that additional orientations are possible. The hermetically sealed enclosure 14 includes a battery, circuitry that controls device operations and records ECG data in memory registers, and a telemetry transceiver antenna or transceiver electrodes and circuit that receives downlink telemetry commands from and transmits stored data in a telemetry uplink to the external programmer. The circuitry and memory can be implemented in discrete logic or a micro-computer based system with Analog/Digital conversion of sampled ECG amplitude values.

As depicted in FIG. 2, an implantable medical device (IMD) 13 is a multi-chamber pacemaker that can both deliver electrical stimulation and monitor potassium levels, as described in U.S. Patent Publication 2006/0217771 A1, the contents of which are incorporated in their entirety. The dual capability of IMD 13 is particularly well suited for patients suffering from cardiac disease requiring pacing and concomitant kidney disease requiring monitoring of potassium concentrations for dialysis. The exemplary embodiment can deliver electric stimulation and record ECG data in the heart 15 of a patient. A right ventricular lead 17 has an elongated insulated lead body carrying one or more concentric coiled conductors separated from one another by tubular insulated sheaths. The distal end of right ventricular lead 17 is deployed in the right ventricle 19 of heart 15. Located adjacent to the distal end of the lead body are one or more pacing/sensing electrodes 20, which are configured to deliver cardiac pacing and are further configured to sense depolarizations of right ventricle 19. A fixation mechanism 22, such as tines or a screw-in element anchors the distal ends in right ventricle 19. The distal end also includes an elongated coil electrode 24 configured to apply cardioversion or defibrillation therapy. Each of the electrodes is coupled to one of the coiled conductors within the lead body. At the proximal end of right ventricular lead 17 is a connector 26, which couples the coiled conductors in the lead body to IMD 13 via a connector module 28. A right atrial lead 30 includes an elongated insulated lead body carrying one or more concentric coiled conductors separated from one another by tubular insulated sheaths corresponding to the structure of right ventricular lead 17. Located adjacent the J-shaped distal end of right atrial lead 30 are one or more pacing/sensing electrodes 32, which are configured to sense depolarizations and deliver pacing stimulations to right atrium 34.

Also shown in FIG. 2 is an elongated coil electrode 36 proximate to the distal end of right atrial lead 30, and located in right atrium 34 and the superior vena cava 38. At the proximal end of the lead is a connector 40, which couples the coiled conductors in right atrial lead 30 to IMD 13 via connector module 28. A coronary sinus lead 42 includes an elongated insulated lead body deployed in the great cardiac vein 44. The lead body carries one or more coiled conductors coupled to one or more pacing/sensing electrodes 46. Electrodes 46 are configured to deliver ventricular pacing to left ventricle 48 and are further configured to sense depolarizations of left ventricle 48. Additional pacing/sensing electrodes (not shown) may be deployed on coronary sinus lead 42 that are configured to pace and sense depolarizations of the left atrium 50. At the proximal end of coronary sinus lead 42 is connector 52, which couples the coiled conductors in coronary sinus lead 42 to connector module 28. An exemplary electrode element 54A is coupled to the distal end of a lead 56. Lead 56 carries one or more conductors separated from one another by insulated sheaths. A connector 58 at the proximal end of the lead couples the conductors in lead 56 to IMD 13 via connector module 28. In addition to connector module 28, IMD 13 has a housing 60 formed from one or more materials, including conductive materials such as stainless steel or titanium. Housing 60 can include insulation, such as a coating of Parylene® (poly(p-xylylene)) or silicone rubber, and in some variations, all or a portion of housing 60 can be left uninsulated. The uninsulated portion of housing 60 can serve as a subcutaneous electrode and a return current path for electrical stimulations applied via other electrodes.

Also shown in FIG. 2 is electrode element 54A that includes two electrodes 62A and 62B. At least one of electrodes 62A and 62B is deployed in or near test tissue and delivers stimulation to the tissue, while the other provides a return current path. The test tissue can com-prise a collection of autologous or non-autologous cells that are sensitive to [K⁺]. For example, the test tissue may be one of cardiac muscle, skeletal muscle, smooth muscle, nerve tissue, skin, or the like. The IMD 13 includes a sensor that detects the electromechanical response of the muscle to the stimulation delivered by electrodes 62A and 62B. The detected electromechanical response can include muscle tension, muscle strength, muscle density, muscle length and pressure generated by the muscle. The electromechanical sensor can be incorporated completely within the housing of IMD 13 or can be present outside the housing. Example sensors include optical sensors for observing mechanical responses and an accelerometer that responds to muscle movement. Further embodiments of the sensor for detecting an electromechanical response include pressure sensors and piezoelectric sensors.

In certain embodiments, the accelerometer can have a 3-axis accelerometer capable of separately detecting heart and lung sounds or movement and respiration rate. Heart and lung movement and respiration rate can indicate fluid volume overload. Any implantable device to obtaining ECG or other data can also have temperature sensing capabilities.

FIG. 3 shows graphs of muscle force that illustrate exemplary techniques to determine a concentration of [K⁺] in extracellular fluid (ECF) as a function of the response of skeletal muscle to stimulations from an electrode element such as electrode elements 54A. Each stimulus can have an amplitude of about 2 to about 20 Volts, for example, and a pulse width of about 0.1 to 1.0 milliseconds. Stimulus line 100 shows the timing of stimuli delivered to the skeletal muscle via electrodes such as electrodes 62A-B of FIG. 2. Response line 102 depicts a response of skeletal muscle to the stimulations in an environment where [K⁺] is low relative to concentrations in intracellular fluid (ICF). In other words, response line 102 depicts a response of skeletal muscle in a “normal” patient. By contrast, response line 104 depicts a response of skeletal muscle in a patient having elevated [K⁺].

The frequency of stimuli can vary from about 10 to about 150 Hz. Muscle in a normal environment has longer duration contractions and can exhibit some summation. Muscle contractions in a lower [K⁺] environment have a larger amplitude and have a longer duration than a high [K⁺] environment. As described in FIG. 3, data obtained from electrical stimulation of potassium-sensitive tissue can be used to supplement the analysis of ECG data described herein.

In one or more embodiments, a medical system is provided for monitoring serum potassium concentration in a subject. The medical system includes a medical device such as the medical device 410 referenced in FIG. 9, wherein the medical device includes at least one of an electromyogram sensor and an electrocardiogram sensor for detecting a change in muscle or nerve activity of the subject and for producing at least one electrical signal based on the change in muscle or nerve activity as detected, the electrical signal being indicative of a serum potassium concentration of the subject. Thereafter, a processor such as the processor 430 referenced in FIG. 9 may be used to apply a forward computational procedure as detailed herein elsewhere to the at least one electrical signal to generate a risk score, and a communication device as detailed herein elsewhere may be used to issue an alert which indicates a condition of hyperkalemia, hypokalemia or arrhythmia of the subject based on the risk score. The communication device may be the communication system referenced in FIG. 9 allowing the transfer of data and mediating the data transfer between the medical device 410 and the processor 430.

As detailed herein below, the present invention in one or more embodiments is advantageous in providing a non-invasive method and system for monitoring serum potassium concentration in a subject. In particular, one or more of these ECG features can be significant non-invasive markers or indicators for monitoring corresponding serum potassium concentration. Without wanting to be limited to any particular theory, it is believed, and at least with the T-wave measurements, the T-wave measurement can be specific in determining the details of repolarization once it begins, which is potassium sensitive. For instance also, the R-wave is believed to be sensitive to the difference between intracellular and extracellular potassium. In this connection, and at least in certain particular instances, the T-wave amplitude, the R-wave amplitude, and/or the T/R amplitude ratio may be more sensitive to other ECG features such as the P-R interval and the QT interval as markers or indicators for monitoring serum potassium concentration. This may be because the P-R interval and the QT interval reflect more on the effects of autonomic nervous system rather than on potassium concentration variations.

The at least one electromyogram sensor and/or the at least one electrocardiogram sensor may be positioned within the medical device in any suitable way or at any suitable posi-tion. In certain instances, the at least one electromyogram sensor and/or the at least one electrocardiogram sensor may be similarly positioned within the medical device like the electrodes 62A and/or 62B referenced in FIG. 2.

As illustratively depicted in FIG. 27, a medical system generally shown at 2710 may include: a pulse generator 2711 for producing one or more pulse sets; one or more pulse-sensitive electrodes 2712 for mediating communication between the pulse generator 2711 and a subject 2720; a medical device 2714 for generating and/or receiving a signal indicating an extent of muscle strain of the subject 2720 upon a contact with the one or more pulse sets; and a processor 2716 for receiving the signal from the medical device 2714 and producing an output on serum potassium concentration based on the signal.

Referring back to FIG. 27, the pulse generator 2711 may be an electronic circuit producing a digital signal having only two levels corresponding to 0 and 1 levels, or OFF and ON. Duration of each interval and number of times to repeat them are predetermined by an algorithm and can be changed if necessary. Such a pattern can be generated using a logic gates, timer circuits or programmable devices such as a computer or a microprocessor. A non-limiting example of the pulse generator 2711 may be an Arduino microprocessor.

In this design, the medical device 2714 includes at least one electromyogram sensor to detect the extent of muscle strain of the subject 2720 in response to the one or more pulse set mediated by the pulse-sensing electrode 2712. In certain instances, the at least one electromyogram sensor of the medical device 2714 may be a pressure sensor or a blood pressure cuff.

The pulse generator may be provided with a pulsing schedule such that the one or more pulse sets include a first pulse set and a second pulse set, the first and second pulse sets are produced according to one or more of the following algorithm rules: i) the first and second pulse sets are separated in time by 0.5 to 5 seconds; ii) the first and second pulse sets each independently include 3 to 10 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 50.

The present invention in one or more embodiments is unique in using burst stimulation to generate and monitor the ripples on the muscle response and the subsequent interpreta-tion of these ripples to derive the relation to the serum potassium concentration are unique prop-erties of the algorithm. In doing so, the number of pulses and the frequency of the pulses may need to be chosen carefully. For example, if there are too few pulses, then the measured muscle response is the transient one, not the steady state one. If there are too many pulses, one may risk that the muscle will fatigue, giving an erroneous response. Similarly, the frequency of the stimulation must be low enough to prevent immediate formation of tetnus which eliminates the ripples on the contraction. At the same time, stimulus that is delivered at too low frequencies do not result in the fusion of the contraction, hence would not allow the analysis of the ripples. Even though the present algorithm suggests the use of N=5 pulses delivered at f=5 Hz, deviations from those numbers are within the scope of the present invention.

The operation of the pulse generator may be triggered by on its own using a self-timer, by the monitor, or by the medical care provider. It may also be triggered when there is blood draw for analysis, which can be used for the calibration of the sensory.

The pulsing schedule of the pulse generator may be provided such that the first and second pulse sets are produced according to two or more of the following pulsing rules: i) the first and second pulse sets are separated in time by 1.5 to 2.5 seconds; ii) the first and second pulse sets each independently include 4 to 6 pulses; and iii) the first and second pulse sets each independently having a frequency of 2 to 10 Hz.

The first and second pulse sets are only illustrative of the pulsing schedule in that the pulsing schedule may include more than two pulse sets. In particular, the pulsing schedule may include three, four, five or more pulse sets with each of them independently including feature(s) described in relation to the first or second pulse set.

Regarding the pulsing rule i), the first and second pulse sets may be separated in time by 0.5 to 5 seconds, 0.75 to 4.25 seconds, 1.0 to 3.5 second, or 1.5 to 2.75 seconds. The separation in time between the first and second pulse sets may be measured by the distance in time between the first peak of the first pulse set and the first peak of the second pulse set. The separation in time between two adjacent pulse sets may be adjusted accordingly based on the specifics of a project at hand. However, these separation in time values may be particularly useful for carrying out the serum potassium concentration monitoring intended by the present invention in one or more embodiments

Regarding the pulsing rule ii), the first and second pulse sets may each independently include 3 to 10 pulses, with each pulse observable with the presence of a peak, or 3 to 8 pulses, or 4 to 6 pulses. The total number of pulses or peaks contained within each of the pulse sets may be adjusted accordingly based on the specifics of a project at hand. However, these pulse numbers may be particularly useful for carrying out the serum potassium concentration monitoring intended by the present invention in one or more embodiments.

Regarding the pulsing rule iii), the first and second pulse sets may each independently be of a frequency of 2 to 50 Hz, 2 to 40 Hz, 2 to 30 Hz, 2 to 20 Hz, or 2 to 10 Hz. The pulsing frequency may be adjusted accordingly based on the specifics of a project at hand. However, these frequency ranges may be particularly useful for carrying out the serum potassium concentration monitoring intended by the present invention in one or more embodiments.

Referring back to FIG. 27, the medical system 2710 may further include an amplifier 2718 mediating communication between the pulse generator 2711 and the one or more pulse-sensing electrodes 2712.

In certain instances, the amplifier 2718 may be capable of amplifying and delivering the pulses to tissues with unknown load impedance. It is possible that the load impedance of the tissue can be as low as 20 Ohms, and as high as 50 kilo-ohms. Similarly, the output voltage of the amplifier is adjustable from 1 Volt to 10 Volts, preferably at 8 Volts. In order to minimize the patient discomfort, the pulsing schedule may need to be kept at least initially at a relatively low value in voltage, such as 2 Volts. If there is no response from the tissue, then the output voltage is increased until an evoked response is observed. Furthermore, the amplifier may also need to have a broad frequency response, from 0.1 Hz to 1 kHz to minimize the distortion of the delivered pulses. In addition, and in certain instances, the amplifier may need to provide the required electrical isolation necessary for all patient connected electrical medical devices to reduce the risk accidental electrocution of the subject.

In certain embodiments, and as depicted in FIG. 28, a medical device 2814 may include one or more electrocardiogram (ECG) electrodes 2812 for receiving one or more electrocardiogram features from the subject 2820, the one or more electrocardiogram features including T-wave amplitude, R-wave amplitude, T-slope, ratio of T-wave amplitude to R-wave amplitude (T/R ratio), and T-wave flatness; and an ECG algorithm for producing an output on the serum potassium concentration in the subject 2820, based on an input including the one or more electrocardiogram features, wherein the ECG algorithm includes one or more of the following operational rules: i) the output on the serum potassium concentration being a function of the R-wave amplitude; ii) the output on the serum potassium concentration being a function of the T-wave amplitude; iii) the output on the serum potassium concentration being a function of the T/R ratio; and iv) the output on the serum potassium concentration being a function of the T-wave flatness.

Myocardial cellular action potentials are formed by the flow of positively charged ions such as sodium, potassium, and calcium through the cellular membranes. The ECG is made up of the aggregation of electrical signals from many myocardial cells. FIG. 29 shows standard locations for ECG electrodes. Lead II is the voltage between the left leg (LL) electrode and the right arm (RA) electrode. Leads V1 through V6 are termed the “precordial” leads, and the negative electrode thereto is the average of the three limb leads (I, II, and III). Leads I and III are the voltage between the left arm and right arm electrode and between the left leg and left arm electrode, respectively. The ECG features may be detected according to the schedules tabulated in Table 4.

TABLE 4 Schedules for Detecting ECG Features Feature ECG Feature Identification Schedule R-wave Find maximum amplitude (either positive or negative) of segment in identification R-wave template. Store the polarity of this segment. Find threshold points in the data stream that exceed 70% of the template maximum amplitude. Look at the data segment from the first threshold point encountered looking out for the width of the R-wave template. If the detection is not too wide or flat, it is considered a valid R-wave. This is done by checking if the slopes at half of the template width on either side of the candidate R-wave peak are at least 60% of the corresponding slopes on the template signal. Skip ahead (blank) for 1.5* template width before searching for the next R wave. Store the intervals between R waves also (RR intervals). P-wave start Starting 20 ms before the Q time, store all the samples for the previous 0.25*RR interval. Sort the samples in ascending order. Store the times of the largest 10% of samples, and then start at the initial time of this P-wave segment. Looking back for 30 ms, find the maximum slope over a 20 ms interval. Then find the earliest point where the upslope of the p-wave exceeds ½ of the maximum slope. P-wave peak Find the width of the p-wave segment with the largest 10% of samples, as described above. Set the P-peak time to the middle of this segment. R-wave start Look back from the peak of the R wave for 100 ms. (Q time) The Q point is detected when the slope decreases to the point that the difference in signal amplitude over 18 ms is less than 1/50 of the R-wave amplitude for several samples. R-wave peak Point of maximum amplitude away from 0, either in positive or negative direction, within template width after the R-wave detection point. R-wave end Find minimum amplitude within 46 ms after R wave peak. Find maximum slope and minimum nonnegative slope within 50 ms after the minimum amplitude. Look out beyond the minimum amplitude point for the point where the slope is 1/10 of the way from the minimum to the maximum slope. T-wave start End of R-wave T-wave peak Find maximum positive amplitude during the interval starting 150 ms after the R-wave peak through the point 0.4*{square root over (RR interval)} after that. Look through that same window, store all the samples, and sort them in ascending order. Find the times of all the samples in the top 10%. Pick the center of all those times. T-wave end Find the minimum amplitude between 130 and 180 ms after the T-wave peak. Use this as the isoelectric line. Find the steepest slope over a 15 ms segment between the T-wave peak and 0.2*RR interval after it. Interpolate the maximum slope from the point where it is measured to the isoelectric line. Store that point as the end of the T-wave.

The one or more electrocardiogram electrodes may include one or more of lead II, lead V2, lead V3 and lead V4, which are illustratively depicted in FIG. 29. The rationale for selecting these leads may be that the ECG change which is usually first observable given abnormal potassium levels is the appearance of peaked, symmetric T-waves. T-waves are largest on the precordial leads, and T-wave changes due to hyperkalemia are most likely seen on V2, V3 and V4.

In certain instances, the one or more electrocardiogram electrodes consist of lead II only. Lead II is examined because it is closest to the Reveal signal which is optionally useful for certain chronic kidney disease monitoring projects.

The output on the serum potassium concentration, as directly or indirectly obtain-able from the medical device referenced in FIG. 27 and/or the medical device referenced in FIG. 28 may be a difference between a serum potassium concentration at time t₁ of the subject and a baseline potassium concentration at time t₀ of the subject, time t₁ being at least 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, 120 minutes, 12 hours, 24 hours, 48 hours, or 96 hours, apart from t₀. The time period between time t₀ and time t₁ may be a time interval within a medical treatment session such as a dialysis session, during which time t₀ represents an earlier time point during the dialysis and time t₁ represents a later time point during the dialysis. This is useful as the subject can be monitored in real time for serum potassium concentration via the use of the at least one electromyogram sensor and/or the at least one electrocardiogram sensor contained within or connected to the medical device such that the subject may be spared of the inconvenience and sometimes pain associated with periodic blood draws otherwise needed for conventional potassium concentration monitoring.

The baseline serum potassium concentration may be a value selected from the group consisting of a baseline serum potassium concentration of the subject obtained at a periodic blood draw, a baseline serum potassium concentration of the subject obtained at the onset of a dialysis session, and a baseline serum potassium concentration of the subject at the end of a dialysis session. In this connection, the baseline potassium concentration values can be determined at the time of the weekly, biweekly, monthly, or bi-monthly blood draw when the potassium level can be determined accurately. Baseline can also be defined at the onset of the dialysis session, because that is the onset of the measurement process. It is also possible to define the baseline as the measurements done at the end of the dialysis session, because at that time, the potassium value is likely to be within the normal physiological range, and very close to the dialysate value, which is known.

In certain instances, one or more baselines for each ECG feature may be determined on an individual basis for each subject, for instance, one when [K+]=5 mM and one when [K+]=3.5 mM. If this is not possible, then baseline may be measured at some time when potassium is within these ranges. It should be noted that the response is fairly linear in the clinically significant range of hyperkalemia, i.e. [K+]=5 mM to [K+]=9 mM.

According to the operational rule of the ECG algorithm, the output on the serum potassium concentration may be in a negative correlation with the R-wave amplitude. The negative correlation refers to an observation where the R-wave amplitude increases as the serum potassium concentration decreases in the subject. The negative correlation, however, does not require a straight line correlation with a single slope. Rather, the negative correlation is found when the beginning values of the serum potassium concentration and the R-wave amplitude relative to their corresponding ending values change in the same direction.

According to the operational rule of the ECG algorithm, the output on the serum potassium concentration is in a positive correlation with the T-wave amplitude. The positive correlation refers to an observation where the T-wave amplitude decreases as the serum potassium concentration decreases in the subject. The positive correlation, however, does not require a straight line correlation with a single slope. Rather, the positive correlation is found when the beginning values of the serum potassium concentration and the T-wave amplitude relative to their corresponding ending values change in the same direction.

According to the operational rule of the ECG algorithm, the output on the serum potassium concentration is in a positive correlation with the T-slope. The positive correlation refers to an observation where the T-slope decreases as the serum potassium concentration decreases in the subject. The positive correlation, however, does not require a straight line correlation with a single slope. Rather, the positive correlation is found when the beginning values of the serum potassium concentration and the T-slope relative to their corresponding ending values change in the same direction.

In certain instances, the ECG algorithm of the medical system 12.100 does not include the operational rule i) and includes only one or more of the operational rules ii), iii) and iv). This may be useful as the T-wave amplitude may be subject to certain fluctuation dependent upon the type of the ECG lead or leads used and the individuality of the subject.

The ECG electrodes 2812 of the medical system 2810 may include a first set of electrodes consisting of lead II, lead V2, lead V3 and lead V4, and a second set of electrodes consisting of lead II only, wherein the ECG algorithm further includes a calibration rule which is the medical system is operationally calibrated if one or more of the following is met: v) a difference between the outputs according to rule ii) from the first set of electrodes and the second set of electrodes is no greater than 20%; vi) a difference between the outputs according to rule iii) from the first set of electrodes and the second set of electrodes is no greater than 20%; and vii) a difference between the outputs according to rule iv) from the first set of electrodes and the second set of electrodes is no greater than 20%.

The ECG electrodes 2812 of the medical system 2810 may include a first set of electrodes consisting of lead II, lead V2, lead V3 and lead V4, and a second set of electrodes consisting of lead II only, wherein the ECG algorithm further includes a calibration rule which is the medical system is operationally calibrated if one or more of the following is met: v) a difference between the outputs according to rule ii) from the first set of electrodes and the second set of electrodes is no greater than 10%; vi) a difference between the outputs according to rule iii) from the first set of electrodes and the second set of electrodes is no greater than 10%; and vii) a difference between the outputs according to rule iv) from the first set of electrodes and the second set of electrodes is no greater than 10%.

Referring back to FIG. 28, the medical system 2810 may further include a dialysis device 2813 such that the subject 2820 is subject to serum potassium concentration monitoring via the use of the electrocardiogram electrodes and the ECG algorithm while being subject to a treatment by the dialysis device. This design provides a real-time feedback control of the dialysis operation based upon the output on the serum potassium concentration. If the serum potassium levels are out of normal ranges, this may be detectable via changes in the ECG. Subjects with end-stage renal disease who are on dialysis have large fluctuations in systemic potassium levels between dialysis sessions. They may be hypokalemic at the end of a dialysis session, and as their potassium levels rise between dialysis sessions, they may become hyperkalemic before the next session. Hemodialysis subjects have a high rate of sudden death. Their potassium fluctuations could lead to cardiac arrhythmias. Both hyper- and hypokalemia are well-known risk factors for sudden cardiac death.

A non-limiting example of a method of monitoring the ECG features and estimating the potassium concentration is provided as follows. A signal from an implanted device is recorded periodically and stored in the device. At specified times, either at the same time each day, or before and after dialysis, stored segments of the signals are uplinked to a programmer device. The segment of data is preprocessed by being high- and low-pass filtered and possibly inverted. The least noisy sections of data may be identified to be used for measurement. An R-wave is detected as the largest amplitude peak within the first few seconds of a data segment. After a blanking period, additional R-waves are identified which are of comparable polarity, magnitude, and QRS width. The R-waves from a segment of data, nominally 1 minute, may be used to construct a median beat representing the signal. The R-waves in the measurement window following the selected template time are detected by the amplitude peaks. They are subsequently sorted by R-R interval, and the longest 1/12th and shortest 1/12th of intervals are thrown out. The remaining complexes are time-scaled to the average R-R, and then the median value for each sample in the R-R interval is selected to form the median beat. ECG features are measured either on every beat, as identified by an R-wave, or just on the median beat. ECG features including some of the following are identified: T-wave amplitude, R-wave amplitude, T-wave amplitude/R-wave amplitude ratio, T-slope, T-slope over amplitude, T-wave peak-to-peak amplitude, R-R interval, QRS duration, and T-wave phase type. T-wave phase type is a measure of whether the T-wave is monophasic or biphasic. The maximum positive signal amplitude and maximum negative signal amplitude within a window following the R-wave are identified. They are compared to the baseline amplitude following the T-wave. If either the maximum positive signal amplitude or maximum negative signal amplitude is much farther from baseline than the other, it is a monophasic T-wave. If they are approximately equally far from baseline, it is a biphasic T-wave. The T-wave phase type may change from monophasic to biphasic as potassium levels increase. The programmer device calculates the ECG feature measurements from the signal which has been uplinked and compares to previous measurements in the subject to determine if changes are occurring, or if deviations from normal are occurring. The programmer device com-bines the ECG feature measurements in a weighted manner to estimate potassium concentration. This weighted sum is used as a disease risk score. If disease score is greater than a threshold for a period of time, an alert is then issued.

FIG. 30 depicts an exemplified flow chart for the ECG assisted potassium concentration monitoring.

Referring back to FIG. 28, the medical system 2810 may further include a monitor 2818 to receive and analyze the ECG signals transmitted from the ECG electrodes 2812. The monitor 2818 may be spaced apart from the ECG electrodes 2812 and may also be co-localized with the ECG electrodes 2812 to form an integral single device. Non-limiting examples of the monitor 2818 with or without being coupled with the ECG electrodes include Electrogram from implanted Reveal device, surface electrocardiogram from external electrodes, signal from electrodes of subcutaneous implantable cardioverter-defibrillator, and ventricular far-field electrogram from implantable cardioverter-defibrillator or cardiac resynchronization defibrillator. The monitor 2818 may further communicate with the processor 2816 for downstream data communication, optionally via wired or wireless connection.

Those skilled in the art will readily understand that the innovations disclosed here can readily be applied to data and electrical signals, including ECG data, obtained from non-implantable devices. For example, a plurality of electrodes can be placed on the skin of a subject. The plurality of electrodes can connected to a medical device for measuring electrical signals or a patch ECG device that transmits ECG by wireless telemetry to a receiver that can interpret the ECG data, such as the V-PATCH™ from VPMS Asia Pacific (Victoria, Australia). Electrical signals related to heart or lung activity and/or ECG data, regardless of source, can be used in conjunction with the embodiments described below.

Processing Unit and Computational Procedure

The physiological signals obtained by the medical device of the present invention are processed by a processing unit. The processing unit can be computing hardware that is disposed within the implantable medical device or external to the device, with the medical device illustratively including one of the medical device 410 referenced in FIG. 9, the medical device 2714 referenced in FIG. 27 and the medical device 2814 referenced in FIG. 28. Alternatively, the processing unit can be external to the patient and receive the physiological data from the implantable medical device and process the data either in real time or at a later time. A computational procedure, which can be referred to as the forward computational procedure, is used to convert the physiological signals into disease scores, which will be described below in detail.

The processing unit can extract several details from each cardiac cycle. The complete cardiac cycle of the patient can be stored by the implanted medical device or the processing unit and associated with a time index. In certain embodiments, not every cardiac cycle of the patient is required to be stored by the medical system and associated with a time index. For example, every other cardiac cycle or every nth integer cardiac cycle can be processed. Alternatively, cardiac cycles that overlap certain time points can be analyzed since the time period of cardiac cycles depends upon heart rate. In some embodiments, the time indices of cardiac cycles indicate the chronological order of cardiac cycles, wherein adjacent time indexes are not restricted to immediately proximal cardiac cycles.

Table 1 lists various parameters or features that can be extracted from the ECG of each cardiac cycle. Each feature represents a scalar quantity that describes a feature of the ECG of the cardiac cycles.

TABLE 1 Features extracted from the electrocardiogram Feature Definition F1 P-R interval F2 QRS width F3 Q-T interval or QT-dispersion F4 P-wave amplitude F5 P-wave peak F6 S-T segment depression F7 Inverted T-waves F8 U-wave observation F9 T-wave peak amplitude F10 Heart Rate Variability F11 Ratio of T-wave amplitude to R-wave amplitude F12 T-wave flatness F13 T-slope F14 T-wave peak to T-wave end time (TpkTend) F15 QT/TpkTend F16 T-wave phase type

The scalar values for features F1 through F16 have diverse magnitudes and units which complicate arriving at a combination of the features into one or more risk scores that can be used to assess the potassium state of the patient. In particular, various features are typically reduced to a scalar quantity in the following units: P-R interval in time units, U-wave amplitude in potential units, S2 based upon a comparison with the feature QRS width in time units, Q-T interval in time units, P-wave amplitude in potential units per time unit, P-wave peak in potential units, and T-wave amplitude in potential units. Other features are indicated by a yes/no observations such as depression of S-T segment and inversion of the T-wave. Therefore, each of the features F1 through F16 can be converted to a value on a scale from 0 to 1 to allow direct comparison and or combination of features F1 through F16, which can herein be referred to as the common scale. Those skilled in the art will understand that scales having other ranges can be used.

Table 2 shows various computational procedures that can be used to convert the features F1 through F16 to the common scale. Computational procedures D1 through D3 are discrete mathematical equations that result in an output of either 0 or 1. As shown in FIG. 4, computational procedure D1 indicates a value of 1 when a determinant or threshold X_(C) is exceeded and otherwise indicates a value of 0. Computational procedure D2 is similar except a value of 1 is indicated for a value less than determinant or threshold X_(C). Computational procedure D3 provides a value of 1 when the value deviates from a set point by an amount X_(C). The computational procedures S1, S2 and S3 are continuous mathematical functions with the possibility of any numerical value between 0 and 1. Computational procedures D1, D2 and D3 have the advantage of being easier to implement by a microprocessor because they only require a comparison of the argument X to a threshold value of X_(C). However, the computational procedures D1, D2, and D3 do not provide any proportional response to the input. Computational procedures S1, S2 and S3 provide a more graded response, but impose a heavier computational burden on the microprocessor by either requiring a mathematical computation shown in Table 2 or the use of a look-up table. However, both discrete and continuous computational procedures are contemplated for use in the present invention. FIG. 5 presents exemplary plots for computational procedures S1, S2 and S3.

TABLE 2 Computational procedures used for the conversion of the features into s_(c)ores Name Mathematical Expression D1 ${D_{1}\left( {x,x_{C}} \right)} = \left\{ \begin{matrix} {1,} & {x > x_{C}} \\ {0,} & {x \leq x_{C}} \end{matrix} \right.$ D2 ${D_{2}\left( {x,x_{C}} \right)} = \left\{ \begin{matrix} {0,} & {x > x_{C}} \\ {1,} & {x \leq x_{C}} \end{matrix} \right.$ D3 ${D_{3}\left( {x,x_{C}} \right)} = \left\{ \begin{matrix} {1,} & {{x} > x_{C}} \\ {0,} & {{x} \leq x_{C}} \end{matrix} \right.$ S1 ${S_{1}\left( {x,x_{C},k} \right)} = \frac{1}{1 + e^{k{({x_{C} - x})}}}$ S2 ${S_{2}\left( {x,x_{C},k} \right)} = \frac{1}{1 + e^{k{({x - x_{C}})}}}$ S3 ${S_{3}\left( {x,x_{C},k} \right)} = {\frac{1}{1 + e^{k{({{\frac{3}{2}x_{C}} - x})}}} + \frac{1}{1 + e^{k{({x\frac{x_{C}}{2}})}}}}$

In one embodiment, computational procedures D1 and S1 are designed to indicate that the value of a feature is increasing, where an increased value is undesirable and will contribute to a disease risk score indicating an adverse condition. Computational procedures D2 and S2 represent the reverse situation where a decreased value indicates a contribution to a disease risk score and an adverse condition. Computational procedures D3 and S3 produce high scores indicative of an adverse condition when the feature deviates from a central value either by increasing or by decreasing.

Below is an example illustrating the use of the features and their conversion into raw scores using one of the discrete computational procedures D1 through D3. In this example, features F1 through F10 are as described in Table 1, and the value on the common scale are denoted with P1 through P10. That is, the list below exemplifies one embodiment for conversion of the scalar quantities for features F1 through F10 to value of 0 or 1 on the common scale using a computational procedure equivalent to one of D1 through D3.

If F1=P-R interval >200 msec, then P1=1, else P1=0;

If F2=QRS width >130 msec, then P2=1, else P2=0;

If F3=Q-T interval >220 msec, then P3=1, else P3=0 or if Standard Deviation of Q-T interval >20 msec, then P3=1, else P3=0;

If F4=P-wave amplitude <1 mV, then P4=1, else P4=0;

If F5=P-wave peak >1 mV/msec, then P5=1, else P5=0;

If F6=S-T segment depressed, then P6=1, else P6=0;

If F7=T-wave is inverted, then P7=1, else P7=0;

If F8=U-wave amplitude >2 mV, then P8=1, else P8=0;

If F9=T-wave peak amplitude >3 mV, then P9=1, else P9=0;

If F10=Heart Rate Variation (SDNN)<50 msec, then P10=1, else P10=0;

If F11=the ratio of T-wave amplitude to R-wave amplitude is greater than >0.3, then P11=1, else P11=0;

If F12=T-flatness is >0.75, then P12=1, else P12=0

If TF13=T-wave slope >15 mV/sec, then P13=1, else P13=0;

If F14=T-wave peak to T-wave end time >100 ms, then P14=1, else P14=0.

If F15=QT/TpkTend >0.25, then P15=1, then P15=0.

If F16=T-wave phase type=biphasic, P 15=1, else P15=0.

The correlation to the set of instructions described above can be expressed using the discrete computational procedures D1, D2 or D3 to compute the common scale values, which are shown below as P1 through P16:

P1=D1 (F1, 200 msec);

P2=D1 (F2, 130 msec);

P3=D1 (F3, 220 msec);

P4=D2 (F4, 1 mV);

P5=D1 (F5, 1 mV/msec);

P6=D2 (F6, 1.1 mV);

P7=D2 (F7, 0);

P8=D1 (F8, 2 mV);

P9=D1 (F9, 3 mV);

P10=D2 (F10, 50 msec);

P11=D1(F11, 0.3); P12=D1(F12, 0.75);

P13=D1(F13, 15);

P14=D1(F14, 100);

P15=D1(F15, 0.25);

P16=D1(F16, 0);

Similar expressions for the raw scores P1 through P16 can be written using the continuous computational procedures S1 through S3 instead of D1 through D3. While not presented herein, the use of expressions S1 to S3 to generate common scale values being any real value between 0 and 1 is readily ascertainable by one having ordinary skill in the art upon applying a determinant X_(C) and a factor k.

Afterwards, disease scores are calculated using the raw scores. Three examples are given below. In this case, DSL, DSH and DAR denote the disease scores for hypokalemic, hyperkalemic and arrhythmic outcomes respectively. Specifically, a higher value for DSL, DSH and DAR indicates an increased prevalence of the respective condition. WL1, WL5, WH2, WA1, etc. denote weighting coefficients. The weighting coefficients can be further refined as described below. In some embodiments, the weighting coefficients can be any number greater than or equal to zero. DSL=WL1*P1+WL6*P6+WL7*P7+WL8*P8+WL10*P10+WL11*P11+WL12*P12+WL13*P13+WL14*P14+WL15*P15+WL16*P16  (Eq. 1) DSH=WL2*P2+WL3*P3+WL4*P4+WL5*P5+WL9*P9+WL10*+WL11*P11+WL12*P12+WL13*P13+WL14*P14+WL15*P15+WL16*P16  (Eq. 2) DAR=WA1*P1+WA2*P2+ . . . +WA10*P10+WL11*P11+WL12*P12+WL13*P13+WL14*P14+WL15*P15+WL16*P16  (Eq. 3)

For the calculation of the disease scores, weighting coefficients as well as the variables such as X_(C) and k values will need to be determined. For the remainder of the discussions, these variables, weighting coefficients, X_(C) and k, can be collectively denoted with the symbol M. These constants can be predetermined and adjusted as needed by the medical professionals attending the patient. Alternatively, the processing unit can adjust these constants based on the patient outcomes. In some embodiments, the weighting coefficients and value k can be set to 1, while the determinant value X_(C) is as described above for each feature F1 through F16. That is, a disease score is calculated by a summation of individual weighed or non-weighted feature scores as shown in Equation 4, wherein P_(k) is the feature score and W_(k) is a weighting factor. Risk Score=Σ_(k=1) ^(n) W _(k) *P _(k),  (Eq. 4)

The flow chart for the overall forward computational procedure that monitors the patient is shown in FIG. 6 and outlined in steps below:

STEP 1: Record a cardiac cycle

STEP 2: Extract features F

STEP 3: Calculate raw scores P using features F and initial variables from M

STEP 4: Calculate disease scores D using raw scores P and weighting coefficients from M

STEP 5: If disease score >threshold for a period of time, issue alert

STEP 6: Go to step 1

Disease scores can be calculated for various conditions, including but not limited to, hypokalemia, hyperkalemia, arrhythmias, hospitalizations and acute heart failure.

FIG. 7 shows an example trace for a disease score. In that case, the disease score exceeds the preset threshold of 2.5 at time index T=30, but subsequently returns back to a normal zone at time index T=34. Due to its short duration, this event does not trigger a warning. However, the disease score again enters into the risk zone at time index of T=49, and this time, it remains there for longer than 10 time indices resulting in the issuance of a warning. The selection of the threshold values as well as the minimum duration of risk can be chosen by the clinician depending on the conditions of the patient or could be determined by a backward computational procedure as described herein. Furthermore, the time duration before a warning is issued can be different for different disease scores. For example, for hyperkalemia time durations can be much longer than those for hypokalemia.

In certain embodiments, the controller works to identify the variables X_(c), k as well as the weighting coefficients, and the thresholds and the time duration before a warning is issued, which are collectively called M. This is accomplished using a backward computational procedure wherein operation in the overall system is shown in FIG. 8. The feature set F is fed into the forward computational procedures as described above. Afterwards, the resulting disease score is compared to the actual patient outcome. The difference, called the error signal, is used to adjust the constant set M, which is used in the future execution of the forward computational procedures. For example, if the disease score and the patient outcome are the same, then the error signal would be zero, indicating that there is no reason to alter the constants. On the other hand, if there is discrepancy between the disease score and the actual patient outcomes, then the error signal would be a non-zero value, which in turn will drive the backward computational procedure to alter the constant set M. The backward computational procedures can be constructed using any of the many known statistical and signal processing methods such as the least squares and steepest descent.

Communication System

The communication system allows the transfer of data as well as the disease scores and the variables from set M between the implanted medical device and the external devices for monitoring the patient 401 as shown in FIG. 9. In particular, the implanted medical device or external medical device 410 can be in wireless communication with a local monitor 420 located in the vicinity of the patient. The local monitor 420 can then communicate with either a local computer that can serve as a control processor for interpreting electrical signals from the patient, or the electrical signals from the patient can be transmitted to a remote control processor 430. In any scenario, a clinician 440 can monitor the control processor, provide the results of clinical observations or lab tests, or adjust the set M used in disease score calculation or modify thresholds or time periods for generating an alert. When an alert is generated as described below, the patient 401 can be made aware through a signal (e.g. audio, visual, etc.) from local monitor 420 and a clinician monitoring the control processor 430 can be made aware of any patient having an alert.

The implanted medical device and/or the local monitor can share and transmit data and instructions using any known method of wired or wireless telemetry. For example, a WMTS driver in any device can provide an interface for communication via protocols, such as conventional RF ranges allocated by Federal Communications Commission (FCC) for Wireless Medical Telemetry Service (WMTS). A 802.11 driver in any device can support an 802.11 wireless communication protocol such as 802.11a, 802.11b, or 802.11g. Similarly, a Bluetooth driver can support RF communications according to the Bluetooth protocol. Any device can also include CDMA and GSM drivers for supporting cellular communications according to the code division multiple access (CDMA) protocol, or the Global System for Mobile Communications (GSM) protocol, respectively. Software Applications can invoke Network Protocols to make use of these drivers for communication with the local monitor 420 and/or the control processor 430. Network Protocols in any device can implement a TCP/IP network stack, for example, to support the Internet Protocol or other communication protocols. The preceding is merely exemplary of methods of communication that can be used by an implanted medical device 410, the local monitor 420 or the remote control processor 430 wherein one of ordinary skill will understand that many ways of performing the objectives of the invention are known within the art.

Those skilled in the art will readily understand that the communication system can transmit other data in addition to the specific disease score data disclosed herein. Rather, many other patient parameters can be observed with sensors or inputted to evaluate the dialytic status of the patient, which can include both the effectiveness of dialysis treatment in replacing natural kidney function or complications due to dialysis treatment, such as undesirable changes in potassium ion levels. Data that can be collected and transmitted by the communication system include, but is not limited to, 1) Non-potassium electrolytes and biomarkers such as sodium and calcium; 2) metabolites such as urea, glucose and lactate; 3) hemodynamic parameters such as pulmonary artery pressure, left atrial pressure, right atrial pressure, left ventricular end diastolic pressure, O₂ saturation, and cardiac output; 4) serum biomarkers such as creatinine, albumin, beta-2-microglobin and nGAL; 5) ECG parameters and features; 6) cardiac, skeletal contraction and/or lung data obtained from accelerometer sensors; and 7) values inputted by the patient regarding physical condition.

As will be discussed in greater detail below, ECG parameters and features can be used to calculate specific risk scores. However, additional data can be used to evaluate an overall dialytic clinical risk score (DCRS). The DCRS can be evaluated qualitatively by a physician or a clinician to access the overall status of the patient. In other embodiments, a DCRS can be calculated in an automated fashion using an algorithm and the resulting information evaluable by a physician or a clinician, where a monitoring physician or clinician can be made aware of patients evaluated to have a DCRS that requires further evaluation in an automated fashion. That is, a change in DCRS can be used to trigger an automated alert for further evaluation by a physician or clinician. The further exploration by a physician or clinician can be assisted by the division of data components between differential diagnostic dashboards, wherein the physician or clinician can be directed to a specific diagnostic dashboard that contributed to the alert, for example, hyperkalemic, hyperglycemic, hypervolemic component, etc.

In certain embodiments, the DCRS does not need to include components from all data known about the patient. Rather, the DCRS can be calculated using a skip-logic method, wherein only certain parameters contribute to the score based upon certain criteria. For example, the measurement of a high pulse rate may trigger the calculation of DCRS based upon certain additional parameters such as O₂ saturation, respiration rate, blood glucose, contractile strength (as measured by accelerometer data), and electrolytes while excluding other parameters. As such, the basis for a DCRS score can change based upon specific patient data. Still further, in certain embodiments ECG data and/or heart contractile strength data can provide an indication of sodium ion concentration in the blood serum or in extracellular fluids.

As discussed above, FIG. 9 shows a communication system in accordance with some embodiments where an implanted or external medical device 410 can be in wireless communication with a local monitor 420 located in the vicinity of the patient that can relay data from the medical device 410 to a remote process 430 and/or a clinician 440. FIG. 10 presents additional embodiments for the communication of data and other information from and to a medical device including medical devices for monitoring an ECG or other electrical signals, including internal or external medical devices. The medical device can also include sensors or other medical devices for measuring any patient parameter including the parameters discussed above such as electrolytes, hemodynamic parameters, serum biomarkers, cardiac or skeletal muscle response and respiration, or patient-reported information.

In FIG. 10, a medical device 1000, which can be any of the medical devices or sensors discussed above, such as the medical device 410 referenced in FIG. 9, the medical device 2714 referenced in FIG. 27 and/or the medical device 2814 referenced in FIG. 28, is in wireless communication with an access point 1057 can be a local monitoring device or a Wi-Fi router or other device that provides networking capabilities. The identity of the access point 1057 is not particularly limit and can include any device capable of relaying data such as smart phone or an iPad® device (not shown). The medical device 1000 through the access point 1057 can transmit or receive data to or from a remote device via a computer network, pager network, cellular telecommunication network, and/or satellite communication network, or via an RF link such as Bluetooth, WiFi, or MICS or as described in U.S. Pat. No. 5,683,432 “Adaptive Performance-Optimizing Communication System for Communicating with an Implantable Medical Device” incorporated herein by reference in its entirety, wherein there is no requirement for the electronic controller to be implanted within the patient.

In certain embodiments, a telemetry circuit that enables programming of the me-dial device 1000 by means of a 2-way telemetry link. Uplink telemetry allows device status and diagnostic/event data to be sent to a clinician or physician or another party for review to track the treatment of a patient. Known telemetry systems suitable for use in the practice of the present invention are contemplated by the invention. Such 2-way communication with the medical device 1000 is typically done via a bi-directional radio-frequency telemetry link, such as the CareLink™ system (Medtronic, Inc., Minneapolis, Minn.). Further, a general purpose computer or any other device having computing power such as a smart phone, iPad® or like device.

As shown in FIG. 10, in some embodiments, transmission of data to and from the medical device 1000 can be accomplished through a number of different external devices. Through the access device 1057, different types of devices running applications for sending and receiving data from the medical device 1000 can be used, such as a desktop 1050 or laptop PC 1051 or a cellular phone or smart phone device 1056. In some embodiments, data can be transmitted over the internet 1053 via a local router 1055 and/or modem 1054 for placement on a secure web server 1058 and associated database 1059. The web server 1058 can be accessed by the patient and/or a physician or clinician to receive or send data to the medical device 1000.

Various telemetry systems for providing the necessary communications channels between an electronic controller and a medical device have been developed and are well known in the art, for example, telemetry systems suitable for the present invention include U.S. Pat. No. 5,127,404, entitled “Telemetry Format for Implanted Medical Device”; U.S. Pat. No. 4,374,382, entitled “Marker Channel Telemetry System for a Medical Device”; and U.S. Pat. No. 4,556,063 entitled “Telemetry System for a Medical Device,” which are all incorporated herein by reference. In addition to transmission over the internet, any device shown in FIG. 10 can also directly share data with a 802.11 driver to support 802.11 wireless communication protocol such as 802.11a, 802.11b, or 802.11g. Similarly, a Bluetooth driver can support RF communications according to the Bluetooth protocol. Any device can also include CDMA and GSM drivers for supporting cellular communications according to the code division multiple access (CDMA) protocol, or the Global System for Mobile Communications (GSM) protocol, respectively.

Disease Scoring

The process for calculating a disease risk score by the processor unit will now be described with particularity. FIG. 11 presents a flowchart for a process to monitor the real-time electrical signals of the body of a subject that extracts values of different components from the electrical signals including PR interval, QRS width, QT interval, P wave amplitude, P wave peak, ST segment, T waves, U wave amplitude, T wave peak amplitude and heart rate variance corresponding to features F1 through F16 as discussed above. The sequence of determining values for Features F1 through F16 can be different than presented in FIG. 11; however, FIG. 11 presents the order of feature determination from an ECG associated with a particular time index in accordance with one embodiment. In step 701, the processor unit determines the value of the P-R interval from an ECG of one cardiac cycle associated with a time index. In step 702, the processor unit determines the value of the QRS width from the ECG of one cardiac cycle associated with the time index. In step 703, the processor unit determines the value of the Q-T interval from the ECG of one cardiac cycle associated with the time index. In step 704, the processor unit determines the value of the P-wave amplitude from the ECG of one cardiac cycle associated with the time index. In step 705, the processor unit determines the value of the P-wave peak from the ECG of one cardiac cycle associated with the time index. In step 706, the processor unit determines the value of the S-T segment from the ECG of one cardiac cycle associated with the time index. In step 707, the processor unit determines T wave inversion from the ECG of one cardiac cycle associated with the time index. In step 708, the processor unit determines the value of the U-wave amplitude from the ECG of one cardiac cycle associated with the time index. In step 709, the processor unit determines the value of the T-wave peak from the ECG of one cardiac cycle associated with the time index. In step 710, the processor unit determines the value of the heart rate variance from the ECG of one cardiac cycle associated with the time index.

In FIG. 12, a process for transforming the values for features F1 to F16 to scores on the common scale is shown. FIG. 10 shows the conversion performed using one of the discrete computational procedures D1 through D3 as described above. Using computational procedures D1 through D3, a determinant X_(C) within set M must be determined. As described above, X_(C) can be set to initial values within set M or can be refined values as determined by application of the backwards computational procedure. In additional embodiments, the set M can include a value k to allow for use of one of the continuous computational procedures S1 through S3, as described above, for generation of one or more of the common scale values P1 through P10. In any scenario, the values for features F1 through F16 can be used to generate values P1 though P10 on the common scale provided that at least a determinant X_(C) is set in set M for each of features F1 through F16. That is, each feature F1 through F16 is compared to a determinate X_(C) for a specific feature, which can be denoted X_(C) (F1), X_(C) (F2), X_(C) (F3), X_(C) (F4) . . . X_(C) (F16). Similarly, the value k associated with any specific feature can be referenced by similar nomenclature: k(F1), k(F2), k(F3), k(F4) . . . X_(C)(F16).

In step 1202 in FIG. 12, the value F1 for the P-R interval is compared to determinant X_(C) (F1) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F1) has a value of 200 msec. In step 1205, the value F2 for QRS width is compared to determinant X_(C) (F2) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F2) has a value of 130 msec. In step 1215, the value F3 for Q-T interval is compared to determinant X_(C) (F3) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F3) has a value of 220 msec. In step 815, the value F4 for P-wave amplitude is compared to determinant X_(C) (F4) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F4) has a value of 1 mV. In step 820, the value F4 for P-wave amplitude is compared to determinant X_(C) (F4) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F4) has a value of 1 mV. In step 1220, the value F5 for P-wave peak is compared to determinant X_(C) (F5) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedures. In some embodiments, the determinant X_(C) (F5) has a value of 1 mV msec⁻¹. In step 1225, the value F6 for S-T segment is compared to determinant X_(C) (F6) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F6) is a yes or no determination of whether S-T segment is depressed. In step 1230, the value F7 for T-wave inversion is compared to determinant X_(C) (F7) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F7) is a yes or no determination of whether the T-wave is inverted. In step 1235, the value F8 for U-wave amplitude is compared to determinant X_(C) (F8) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F8) has a value of 2 mV. In step 1240, the value F9 for T-wave peak is compared to determinant X_(C) (F9) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F9) has a value of 1 msec. In step 1245, the value F10 for heart rate variability is compared to determinant X_(C) (F10) to set the value of S1 to 0 or to set the value of S1 to 0 using a discrete computational procedure. In some embodiments, the determinant X_(C) (F10) has a value of 50 msec.

After the assignment of all set values, a DSL disease score is calculated for the time index using Eq. 1 described above. In some embodiments, the weighting coefficients WL1, WL2, etc. are set to 1. In other embodiments, the weighting coefficients WL1, WL2, etc. are set to a value found in the current set M. Similarly, a DSH disease score is calculated for the time index using Eq. 2 described above. In some embodiments, the weighting coefficients WL1, WL2, etc. are set to 1. In other embodiments, the weighting coefficients WL1, WL2, etc. are set to a value found in the current set M. Further a, a DAR disease score is calculated for the time index using Eq. 3 described above. In some embodiments, the weighting coefficients WA1, WA2, etc. are set to 1. In other embodiments, the weighting coefficients WA1, WA2, etc. are set to a value found in the current set M.

The DSL disease score calculated by Eq. 1 indicates the presence of a hypokalemia condition and the DSH disease score calculated by Eq. 2 indicates the presence of a hyperkalemia condition. The presence of hypokalemia condition and hyperkalemia condition are mutually exclusive. As such, in some embodiments the processor unit is configured to issue a warning for hypokalemia if requisite conditions are satisfied prior to issuing a warning for hyperkalemia if requisite conditions are satisfied.

FIG. 13 shows an embodiment for determining if conditions are satisfied for issuing an alert for hyperkalemia or hypokalemia. In FIG. 13, a warning is issued if a DSL risk score or a DSH disease score exceeds a threshold for a set number of consecutive time indices. The threshold for DSL disease score or DSH disease score can be separately set and can be refined as part of set M with the backward computational procedures. As explained above, a DSL disease score and DSH disease score are set for each time index. The time period between adjacent time indices is known by the processor unit. As such, a certain set of contiguous time indices can be associated with a specific time period by the processor unit.

In step 901, the DSL disease value for a time index is compared to a threshold for DSL disease score. If the threshold is exceeded, a counter for DSL disease score (C_DSL) is incremented by an integer value of 1. If the threshold is not exceeded, then the counter C_DSL is reset to 0. In step 905, the current count of the counter for DSL disease score (C_DSL) is compared to an alert time period which can be indicated by the C_DSL exceeding a safe value CS_SL. For example, if the alert time period is 5 minutes and 15 seconds separate adjacent time indices, then the safe value CS_DSL for the counter can be set to 20, where an alert for hypokalemia is issued in step 905 if C_DSL exceeds CS_DSL. In step 910, the current count of the counter for DSH disease score (C_DSH) is incremented by an integer value 1 if the threshold for DSH disease score is exceeded. If the threshold for DSH disease score is not exceeded for a time index, then the counter C_DSH is reset to 0. In step 915, the current count of the C_DSH counter is compared to a safe value CS_DSH. An alert for hyperkalemia is issued in step 915 if the counter C_DSH exceeds CS_DSH.

Those skilled in the art will readily understand that the steps shown in FIG. 12 represent one embodiment for determining if a DSL disease score and/or DSH disease score exceed a threshold value for a significant period to warrant that an appropriate alert be issued. Those skilled in the art will readily recognize that whether the DSL disease score or DSH disease score exceeds a threshold a sufficient number of times or for a sufficient period of time can be evaluated by additional or alternative means without departing from the invention. As an example, step 901 can be modified such that the counter for DSL disease score (C_DSL) is not reset upon evaluation of a time index that does not have a DSL disease score below the threshold. As an alternative, the C_DSL counter can be set to zero if a certain prior number of time indices or time indices corresponding to a set period of time fall below the threshold for the DSL disease score. For example, the processor unit can be instructed to reset C_DSL to zero if all of the time indices from the last 3 minutes (or another appropriate time period) were below the threshold. As such, the observation of only a few time indices below the threshold will not reset the counter C_DSL nor increment the counter C_DSL by an integer value of 1; rather, the count value of C_DSL can be left unchanged until the DSL disease score is observed below a threshold for an intervening period of time. As such, the decision to issue an alert for hypokalemia in step 905 can be based upon a moving average time frame for a number of time indices that exceed the threshold value during a defined time window.

Step 910 for determining a count for C_DSH can be modified in the same manner as for C_DSL in step 901. Further, a counter for the DAR disease (C_DAR) score exceeding a threshold can be established in the same manner as for C_DSL and C_DSH with parallel protocols for deciding when the C_DAR has reached a requisite level to issue an alert for arrhythmia.

Those skilled in the art will understand that the threshold to which any of the described risk scores are compared to for the purposes of issuing an alert, as for example as in FIG. 12, is not required to be a fixed value. In some embodiments, the threshold can be a fixed value, which, for example, can be correlated to specific levels of potassium ions or other electrolytes. In other embodiment, the threshold can vary and can be recalculated during the course of monitoring of a patient. For example, the system can observe an average risk score for the patient over a period of time or a time window to establish a baseline risk score value. In some instances, the baseline risk score value can be established during a period defined by a patient user and/or a clinician. In other instances, the baseline risk score value can be determined periodically by calculating an average risk score during a period of time where no alarms or adverse conditions are reported. In some embodiments, the baseline risk score can be established over a period from 3 hours to about 2 weeks. In other embodiments, the baseline risk score can be established over a period from about 3 hours to about 1 week, from about 1 week to about 2 weeks, from about 3 days to about 2 weeks, from about 3 days to about 1 week or from about 1 day to about 2 weeks.

Once a baseline risk score for a patient is established, the threshold for any risk score described herein can be calculated based upon the baseline risk score. As discussed above, when a risk score (e.g. DSL, DSH, DAR) exceeds a threshold for the risk score, then a counter for the respective risk score (e.g. C_DSL, C_DSH, C_DAR) advances and an alert can be issued when the counter value exceeds a limit. The threshold to which a risk score is compared for purposes of advancing the corresponding counter can be a floating value that changes based upon the determined baseline risk score. In some embodiments, the threshold can be set at a value that is a certain percentage greater than the baseline risk score. In one embodiment, a threshold for a risk score can be any of from about 10 to about 100%, from about 15 to about 50%, form about 15 to about 40%, from about 20% to about 60% or from about 25% to about 50% greater than the determined baseline risk score. In other embodiments, a threshold for a risk score can be set as a specific absolute value over the determined baseline risk score.

Since the baseline risk score for each risk score DSL, DSH and DAR can be adjusted, a patient can be evaluated as being at risk as a result of a relative change in risk score since the last time the baseline risk score was calculated. As such, baseline risk scores and thresholds can account for patient-to-patient variability as well as gradual changes in patient ECG parameters that do not represent a greater susceptibility to hyperkalemia/hypokalemia or arrhythmias. That is, it is possible for the baseline risk score of patients to change overtime due to benign causes that do not represent an increased risk for hyperkalemia/hypokalemia or arrhythmias, where such changes are gradual over time. As described above, the system can account for such drift in baseline risk score, where an alarm is only triggered in response to a significant increase in risk score over a relatively short period of time rather than based upon an absolute risk score value.

In certain instances, the forward computation procedure includes only the electrocardiogram algorithm such that an output from the forward computation procedure is an indication on the serum potassium concentration of the patient, at time t₁, t₂, t₃, . . . t_(n) in comparison to the baseline serum potassium concentration at time t₀.

Backward Computational Procedure

In FIG. 8, the features set to the common scale are provided in 501 for operation on by the forward computational procedure 505. As described above, the forward computational procedure is any of Equations 1 through 3 to calculate a disease risk score DSL, DSH and/or DAR. In step 510, periodic clinical data regarding measured patient condition can be supplied to the system. For example, information regarding serum potassium obtained from standard laboratory tests can periodically be inputted to the control processor and compared to the disease risk score generated at the time serum potassium was measured.

The threshold set for the disease risk score is correlated with an expected potassium serum level. A discrepancy between disease risk score and the clinical data from step 510 can result in an error value which is produced by the summation step (“sigma”) in step 515. When an error is detected in step 515, the backward computational procedure can be applied in step 520 to adjust the set of weight, determinant (X_(c)) and/or k values in the set M used by the forward computational procedure to generate risk scores. The new set M can be used in the forward computational procedure in step 505 going forward to refine the set M in an iterative fashion.

Each of Equations 1 through 3 is a linear combination of the product of a weighting factor and a feature value (P) on the common scale. Refinement of determinant X_(c) and/or k value will lead to a change in the feature value (P) that will modify the calculated disease score. Likewise, modification of the weighting factors will modify the calculated disease score. A disease score such as DSL in Equation 1 is a linear summation of 5 product terms. Linear functions and computational procedures are susceptible to refinement by known statistical techniques such as least squares regression fit and steepest descent. Such statistical techniques typical require the observation of more data points than the number of variable to be refined for an accurate refinement. In least square refinement, variables are brought to a state of best fit with the number of observations by reducing the value of the sum of squares of residuals, where the residuals are the distance from a best fit value and an observed value. Here, the summation of the squares of residuals between the calculated disease risk score calculated with refined set M and the observed potassium serum level can be performed.

In some embodiments, the backward computational procedures to refine set M is only applied to refining one of the weighting factors, the determinant X_(c) or the value k. In other embodiments, each of weighting factors, the determinants X_(c) and the values k are separately refined to generate separate sets M. That is, for example, weighting factors are refined without modifying determinants X_(c) and the values k; determinants X_(c) are refined without modifying weighting factors and the values k; and the values k are refined without modifying the determinants X_(c) and the weighting factors. The refined set M having the best fit can be maintained and carried forward to step 505.

In some embodiments, the amount of refinement can be restrained to prevent over refinement or refinement error. In some embodiments, the amount of refinement to the determinants Xc can be restrained. For example, the amount that determinants Xc can be modified from their initial values can be limited to one of about 30% or less, about 25% or less, about 20% or less, about 15% or less, about 10% or less or about 5% or less. Similarly, the amount of the weighting factors can be restrained to not exceed a certain value. In some embodiments, the weighting factor can be limited to not exceed one or more from about 2.5, about 2 and about 1.5.

Chronic Monitoring of Electrolytes and pH

A patient can be monitored in a chronic fashion for changes in electrolytes in addition of potassium ion or in a manner to supplement monitoring by ECG data only. Similarly, the patient can be monitored for changes in pH.

One goal of hemodialysis, ultrafiltration, and like treatments is to ensure that the patient's blood pH and electrolyte concentrations are within acceptable ranges. Typical ranges of pH and blood electrolyte concentration that are desired during or following a blood fluid removal session are provided in Table 3 below. As indicated in Table 3, concentrations of various acids or bases (or salts or hydrates thereof) are often important in determining the pH of blood. Accordingly, some typical target concentrations of such acids or bases are presented in Table 3.

TABLE 3 Typical target ranges for pH and electrolytes (ref. Medical Surgical Nursing, 7^(th) Ed., 2007) Target Range pH 7.35-7.45 Phosphate 2.8-4.5 mg/dL Bicarbonate 22-26 mEq/L Cl⁻ 96-106 mEq/L Mg²⁺ 1.5-2.5 mEq/L Na⁺ 135-145 mEq/L K⁺ 3.5-5.0 mEq/L Ca²⁺ 4.5-5.5 mEq/L

In hemodialysis sessions, a patient's blood is dialyzed against a dialysate through an artificial dialysis membrane or using the peritoneal membrane in the case of peritoneal dialysis. The dialysate can also serve as a replacement fluid where ultrafiltration is performed to remove fluid from the blood. Suitable components that may be used in dialysate or replacement fluid include bicarbonate, acetate, lactate, citrate, amino acid and protein buffers. The concentration and composition of the buffers and components thereof may be adjusted based on monitored pH of the patient's blood. Similarly, the concentration of electrolytes such as sodium, potassium, calcium, and chloride in replacement fluid or dialysate may be set or altered based the monitored levels of electrolytes.

The methods, systems and devices described herein may be used, in some embodiments, to set the initial electrolyte concentration and pH (buffer components and concentration) based on monitoring that occurs before a blood fluid removal or dialysis session starts, herein referred to as a blood fluid removal session. In some embodiments, the monitoring is chronic; e.g., monitoring is performed intermittently, periodically or continuously over the course of days, weeks, months or years. In an attempt to minimize interference with the patient's lifestyle, the monitoring system, or components thereof, can be implantable or wearable similar to the devices described above.

In some embodiments, one or more sensors are employed to detect one or more ions to gauge pH or electrolytes in the blood. In some embodiments, a sensor can have more than one transducer, even if leadless, that con monitor more than one ionic species. By measuring more than one ionic species, a more detailed understanding of the levels of various electrolytes or blood components may be had. For example, in some patients in some situations, one electrolyte may be at elevated levels while another may be at reduced levels. In some embodiments, more than one sensor for the same ion is employed for purposes of result confirmation and redundancy, which can improve reliability and accuracy. In some embodiments, sensors for the same ion may be configured to accurately detect different ranges of concentrations of the ion. In embodiments, more than one transducer is present in a single unit. This allows for convenient data collection and circuitry, as all the data may be collected in one place at the same time. Further, the multiple transducers may share the same fluid collection mechanism (e.g., a microdialyzer in the case of an implant), and if needed or desired, may share the same data processing and memory storage components.

Sensor that measure pH or electrolytes by direct contact with bodily fluids can be employed, such as ion-selective electrodes. Similarly, pacemakers or external or implantable ECG monitors (such as the Reveal® system) can be used to monitor electrolytes and can optionally be used in conjunction with sensor that take measurements through direct contact with bodily fluids.

Implantable sensors or sensors in which the transducer is chronically inserted in a tissue or blood of a patient may be calibrated prior to implant by placement of the transducer in blood (or other conditions mimicking the implant environment) with known pH or electrolyte concentrations. The sensors can be recalibrated while implanted in the patients. For example, blood pH and electrolyte concentration can be measured external to the patient, e.g., via blood draws, and results of the external monitoring can be communicated to the implanted sensor by receiving input, e.g., from healthcare providers. Thus, the sensor, if sensor has necessary electronics, can recalibrate based on the input regarding the external measurements. Alternatively, or in addition, the sensor may have an internal reference built in, such as with the Medtronic, Inc. Bravo® pH sensor. Alternatively, in cases where the sensor outputs raw data to an external device, the external device may be calibrated to interpret the raw data from the sensor with regard to input regarding the external measurements.

Referring now to FIG. 14, the depicted method includes identifying, selecting or diagnosing a patient for which a blood fluid removal or dialysis session is indicated 800 and monitoring pH or electrolyte levels of the blood of the patient 810. The monitoring 810 can be chronic and may employ one or more implantable sensors or an ECG monitoring device. Based on the monitored pH or electrolyte concentration, the fluid (e.g., dialysate or replacement fluid) composition (e.g., electrolyte concentration, buffer composition and concentration) for use initial use in a blood fluid removal session may be set 820. As described above, the ability to chronically monitor pH or electrolyte concentrations of the patient's blood provides the ability to tailor the fluid composition prior to each blood fluid removal session, as opposed to current standard practice in which the fluid composition is adjusted on a monthly basis (or thereabout). As multiple blood fluid removal sessions (e.g., two to three a week) may occur with a month, setting the fluid composition on a monthly basis may result in the patient undergoing several blood fluid removal sessions with a fluid composition that may no longer be well suited for the patient.

Referring now to FIG. 15, method includes identifying, selecting or diagnosing a patient for which a blood fluid removal or dialysis session is indicated 800 and monitoring pH or electrolyte levels of the blood of the patient 810. As with the method in FIG. 14, the monitoring 810 may be chronic and may employ one or more implantable sensors or an ECG monitoring device. The method depicted in FIG. 16 includes determining whether the pH or electrolyte concentration is out of range 830 based on data acquired during the monitoring 810. For example, a determination 830 can be made as to whether pH or electrolyte levels crossed a threshold (e.g., a ceiling or floor). Suitable thresholds or ranges may be stored in, for example, a look-up table in memory of a sensor device, a blood fluid removal device, or other suitable device for purposes of determining whether the pH or electrolyte concentration is out of range 830 based on data acquired during the monitoring. If the pH or electrolytes are determined to be within range, monitoring 810 may continue. If the pH or electrolytes are determined to be out of range (e.g., cross a threshold), an alert 840 can be issued or a blood fluid removal session (850) may be scheduled.

The scheduled blood fluid removal session may take into account the monitored 810 pH or electrolytes, e.g. as described with regard to FIG. 14. The scheduling may occur automatically, e.g. the sensor or a device in communication with the sensor may transmit data and cause scheduling of session over internet, telephone, or other suitable network, or using any of the communication systems described above.

Any suitable alert 840 may be issued. The alert may be a tactile cue, such as vi-bration or audible alarm, generated by a sensor or a device in communication with sensor. The alert may provide the patient with notice that medical attention should be sought. The alert may also provide information to a healthcare provider regarding the nature of the health issue (e.g., pH or electrolytes out of range) and treatment (e.g., blood fluid removal session) for which the alert 840 was issued. The sensor or a device in communication with the sensor may alert the healthcare provider by transmitting the alert or related information over the internet, a telephone network, or other suitable network to a device in communication with the healthcare provider.

Referring now to FIG. 16, the depicted method includes identifying, selecting or diagnosing a patient for which a blood fluid removal or dialysis session is indicated 800 and monitoring pH or electrolyte levels of the blood of the patient 810. The monitoring 810 can be chronic and may employ one or more implantable sensors or an internal or external ECG measuring device. Based on the monitored pH or electrolyte concentration, the rate of flow of dialysate or blood, based in part on the concentration of electrolytes and pH composition of the dialysate, is set 901. As described above, the rate of flow of dialysate or blood affects the rate of transfer of electrolytes, etc. across the dialysis membrane. Accordingly, depending on the composition of the dialysate used, the rate of flow of the dialysate or blood may be adjusted or set so that desirable blood pH and electrolyte levels may be achieved during the course of a treatment session.

In additionally embodiments, the one or more sensors used to monitor pH and/or electrolytes described above can be used to modify the composition of a dialysate or a replacement fluid during dialysis. Referring now to FIG. 17, the depicted method includes initiating a blood fluid removal or dialysis session 801 and monitoring pH or electrolyte concentration of blood 810. As discussed above, the monitoring may occur via one or more implanted sensors or an internal or external ECG measuring device. Based on the monitored pH or electrolytes, the pH or electrolyte composition or concentration of fluid (e.g., dialysate or replacement fluid) used in the blood fluid removal session may be adjusted 860. For example, based one or more of the current value of a monitored ionic species or the rate of change in the monitored ionic species, the fluid composition may be adjusted, e.g. as discussed above.

Referring now to FIG. 18, the depicted method show a method where blood electrolyte concentration or pH is adjusted by altering the flow rate of dialysate or blood. The method includes initiating a blood fluid removal session 801, such as a hemodialysis session, and monitoring an indicator of pH or electrolyte 810, which can be in the patient, upstream of the device, downstream of the device, within the device, or the like. Based on the monitored data (810), adjustments to the flow of dialysate or blood may be made 900 to adjust the electrolyte concentration or pH in the blood that gets returned to the patient.

Automated Updating of Dialysis Parameters

In certain embodiments, the monitoring of patient electrolytes or pH, as described above, between dialysis treatment sessions can be used to assist in determining the appropriate scheduling or length of a future dialysis session and/or an appropriate dialysate or replacement solution to be used in such a session. By comparing the patient's past responses to dialysis parameters or changes in dialysis parameters, a system can be able to avoid future use of parameters that may harm the patient and can learn which parameters are likely to be most effective in treating the patient in a blood fluid removal or dialysis session. Dialysis parameters include scheduling, length of dialysis sessions as well as dialysate or replacement fluid composition, which are referred to as system parameters herein.

Referring to FIG. 19, a high level schematic overview of embodiments of the present disclosure is shown. As shown in FIG. 19, a learning algorithm 520 is employed to determine what system parameters work well to produce desired patient physiological results based on input. Any suitable input variable 500 can be considered by the algorithm 520 in the learning process. For example, variables such as how long it has been since the patient's last blood removal session may be input. Such input could be important as patients undergoing, for example, hemodialysis on a Monday, Wednesday, Friday schedule are more likely to suffer an adverse cardiac event just before, during or after the Monday blood fluid removal session. Accordingly, the algorithm 520 may consider whether a different set of system parameters should be employed when the patient has not undergone a session in 72 hours relative to when the patient has not undergone a session in 48 hours. Input variables 500 may also include whether the patient has limited time to undergo a blood fluid removal session. The algorithm 520 can determine whether a faster fluid removal rate should be used or whether a partial session at a reduced fluid removal rate would likely be more effective based on the patient's history of response to fast fluid removal rates. Alternatively, the patient may have additional time to undergo a blood fluid removal session, and the algorithm 520 can take such input 500 into account to determine whether there may be an advantage to slower fluid removal rates or slower adjustment of a concentration of an electrolyte based on the patient's history. Of course, it will be understood that any other suitable input variables 500 may be entered regarding target outcomes (e.g., quick session, long session, etc.), patient history (e.g., time since last session), or the like. In embodiments, input that takes into account future patient behavior or needs may be entered into the system. For example, if a patient knows that they will miss a session or the time until their next session will be delayed from normal, time until next session may be entered, which may affect the system parameters (e.g., may remove additional fluid, etc.). By way of another example, if the patient knows that they will eat or drink an amount more than optimal before the session, expected consumption levels may be input in the system.

As shown in FIG. 19, the algorithm 520, based on input variables 500, and patient physiological variables 510 may determine appropriate system variables 530 to employ based on the patient's history with blood fluid sessions under the algorithm. During a blood fluid session, system variables 530 may be changed and the patient physiological response may be monitored in response to the changed system variables. If one or more of the patient's physiological variables 510 improve, the algorithm 530 can associate the changed system variables 530 with the improved patient outcome so that the changed system variables 530 may be used later in the session or in a future session when the patient has a similar set of physiological variables 510. If one or more of the patient's physiological variables 510 worsen, the algorithm 530 can associate the changed system variables 530 with a worsened patient outcome so that the changed system variables 530 may be avoided later in the session or in a future session when the patient has a similar set of physiological variables 510.

In embodiments, the input variables 500 include patient physiological variables that have occurred in a time period preceding a blood fluid removal session. For example, the time period may be a period of time (e.g., all or one or more portions of time) since the patient's last session. In embodiments, the input variables include input indicating (i) how long favorable patient variables 510 (e.g., above or below a predetermined threshold) were observed after the last session; (ii) the rate of change of patient variables 510 following the last session, (iii) etc., all of which may be compared against system parameters 530 used in the previous session. If the patient physiological 510 or other variables (e.g. patient input regarding how the patient has felt), were favorable since the last session, the system may employ similar variables in future sessions. It may also or alternatively be desirable to monitor patient physiological or other variables in a time period leading up to a session and input such variables into the algorithm 520 or system before the session. The system or algorithm 520 can then determine whether the patient has presented with similar symptoms or parameters in previous sessions and employ system variables 530 to which the patient responded favorably, either in the session, after the session, or both in the session and after the session. Accordingly, the system or algorithm 520 may monitor patient well-being, which may be derived from patient physiological variable 510 or input variables 500, within a session and between sessions to determine which system variables should be employed and changed based on the patient response to previous sessions. As indicated by the dashed lines and arrows in FIG. 19, patient physiological variables 510 obtained between sessions and system variables 530 used in a prior session may be input variables 500 in a current or upcoming session.

In embodiments, the physiological variables 510 are monitored by sensors that feed data regarding the variables directly into the algorithm 520 or electronics running the algorithm. The sensors may monitor fluid volume in the patient's blood; fluid volume in the patient's tissue; concentrations of electrolytes in the patient's blood; pH of the patient's blood; one or more cardiovascular parameter of the patient, such as blood pressure, heart rhythm, heart rate; or combinations or indicators thereof. The sensors may monitor the patient physiological parameters before, during or after a blood fluid removal session.

A sensor configured to monitor hemoglobin levels may also be used as an indicator of blood fluid volume, as hemoglobin concentration is typically proportional to red blood cell concentration. Thus, lower the hemoglobin concentrations may be indicative of higher blood fluid volume. Any suitable sensor may be used to measure hemoglobin concentration, such as sensors used in pulse oximeters which measure adsorption of red and infrared light to determine concentration of oxygenated hemoglobin and deoxyhemoglobin, respectfully. The sensors (which may include the associated light source(s)) may be placed in any suitable location, such as around tubing that carries blood from the patient to the blood fluid removal device or from the blood fluid removal device to the patient, within the blood fluid removal device, or the like. In addition or alternatively, a sensor may be implanted in a patient and disposed about a blood vessel to measure hemoglobin levels, and thus hematocrit and blood fluid levels. By way of further example, total blood protein or albumin concentrations and blood pressure, alone or in combination, can be used to evaluate blood volume. High blood pressure combined with low hematocrit or low blood protein may indicate a higher possibility of blood fluid overloading. Alternatively or additionally, blood viscosity may be used as an indicator of blood fluid volume and may be measured by pressure or flow. Impedance, capacitance, or dialectic constant sensors may be employed to monitor fluid volume. For example, impedance may be monitored between two electrodes. The electrodes may be operably coupled to control and processing electronics via leads. The electronics are configured to generate a voltage differential between the electrodes, current may be measured, and impedance calculated. The measurement may be done in either DC or AC mode. Impedance or phase angle may be correlated to tissue fluid volume. Tissue impedance sensing for purposes of monitoring tissue fluid volume has been well documented. One example of a well studied system that may be used or modified for use herein is Medtronic, Inc.'s OptiVol® fluid status monitoring system. Such a system, or other similar systems, have well-documented procedures for determining acceptable ranges of tissue impedance and thus fluid volume. See, e.g., (i) Siegenthalar, et al. Journal of Clinical Monitoring and Computing (2010): 24:449-451, and (ii) Wang, Am. J. Cardiology, 99(Suppl):3G-1-G, May 21, 2007. Alternatively or in addition, tissue impedance may be monitored for a suitable period of time to establish as suitable baseline, and patient markers or clinician input may be used to instruct whether the patient is fluid overloaded or under-loaded. The data acquired by impedance sensor and input data regarding fluid status of the patient at the time the sensor data is acquired may be used to establish suitable ranges for impedance values.

Suitable transducers may include an ion selective electrode configured to detect H⁺ ions, K⁺ ions, Na⁺ ions, Ca²⁺ ions, Cl⁻ ions, phosphate ions, magnesium ions, acetate ions, amino acids ions, or the like. Such electrodes, and components of sensors employing such electrodes, are known in the art and may be employed, or modified to be employed, for use in the monitoring described herein. One or more sensors may be employed to detect one or more ions to gauge pH or electrolytes in the blood. In some embodiments, a sensor may have more than one transducer, even if leadless, that may monitor more than one ionic species. By measuring more than one ionic species, a more detailed understanding of the levels of various electrolytes or blood components may be had. For example, in some patients in some situations, one electrolyte may be at elevated levels while another may be at reduced levels. In some embodiments, more than one sensor for the same ion is employed for purposes of result confirmation and redundancy, which can improve reliability and accuracy. In some embodiments, sensors for the same ion may be configured to accurately detect different ranges of concentrations of the ion. In embodiments, more than one transducer is present in a single unit. This allows for convenient data collection and circuitry, as all the data may be collected in one place at the same time. Further, the multiple transducers may share the same fluid collection mechanism (e.g., a microdialyzer in the case of an implant), and if needed or desired, may share the same data processing and memory storage components. A sensor (or transducer) for detecting pH, electrolyte concentration, or the like may be placed at any suitable location for purposes of monitoring electrolytes or pH. For example, the sensor may be implanted in the patient, located external to the patient an upstream of a blood fluid removal device, located external to the patient and downstream of the blood fluid removal device, or the like.

One suitable implantable sensor device that is configured to monitor a patient's ECG signals is a Medtronic, Inc.'s Reveal® series insertable cardiac monitor described above. In embodiments, the sensor device may be a suitably equipped pacemaker or defibrillator already implanted in the patient. Monitored cardiac signals from such a device may be transmitted to a blood fluid removal device or intermediate device for use in the blood fluid removal session or for setting the prescription for the blood fluid removal session. Blood pressure monitors, which may be external or implantable (such as Medtronic Inc.'s active leadless pressure sensor (ALPS), which generally takes the form of a stent to anchor the device within a vessel, may be employed. Such a device may be placed in any suitable blood vessel location, such as in a femoral artery or pulmonary artery. A wearable sensor system, such as a Holter sensor system, may be used to monitor ECG activity of the patient. Regardless of whether the sensor or sensor system employed, or components thereof, is implantable, wearable, part of a larger stand-alone device, or part of a blood fluid monitoring device, the sensor may monitor any suitable cardiovascular parameter of a patient. In various embodiments, the sensors or monitoring systems are configured to monitor one or more of heart rate, heart rhythm or a variable thereof, or blood pressure. Examples of variables of heart rhythm that may be measured are heart rate variability (HRV), heart rate turbulence (HRT), T-wave alternans (TWA), P-wave dispersion, T-wave dispersion, Q-T interval, ventricular premature depolarization (VPD), or the like.

As indicated above, sensors for monitoring patient physiological parameters may be, or may have components that are, implantable or wearable. In embodiments, multiple sensors may be connected via telemetry, body bus, or the like. The connected sensors may be of the same or different type (e.g., pH or impedance). Such connected sensors may be placed (e.g., internal or external) for purposes of monitoring at various locations of the patient's body.

Monitoring may alternatively or additionally include receiving patient or physician feedback regarding the patient's state. For example, the patient may indicate a point in time when cramping begins, which often happens when too much fluid is removed. The blood fluid monitoring device may include an input, such as a keyboard or touch screen display for entering such data. Alternatively, a separate device such as a patient programmer, laptop computer, tablet computer, personal data assistance, smart phone or the like may be used to input the data; or the like.

Referring now to FIG. 20, a high level flow diagram of a method is described. The method includes providing input 600, such as input variables discussed above with regard to FIG. 20, to a blood fluid removal system. The method also includes initiating or starting 700 a blood fluid removal or dialysis session, and learning 800 from the session. The learning 800 may be as discussed above with regard to FIG. 19 with system parameters being varied and patient physiological parameters being monitored to determine which system parameter adjustments result in desirable patient physiologic outcomes. The learning may also occur over multiple sessions by monitoring patient variables within the sessions or by monitoring patient variables between sessions to determine how well the patient responded prior sessions to predict how well a patient will respond to future sessions (or to set initial parameters for future sessions based on prior experiences).

For example and with reference to FIG. 21A, additional detail regarding an embodiment of a learning process that may occur during a blood fluid removal or dialysis session is shown. The blood fluid removal or dialysis session is started 700 and the patient is monitored 810. Monitored patient parameters, such as patient physiological variables as discussed above, are stored 820; e.g., in memory of the blood fluid removal system. The system parameters, such as system variables described above, which may include rate of fluid removal from the blood or electrolyte concentration of a dialysate or replacement fluid, are adjusted 830 and the system parameters are stored 840; e.g., in memory of the blood fluid removal, monitoring system, or dialysis system, and patient monitoring 810 continues. The set of stored patient parameters 820 are associated 850A with a set of stored system parameters 840 so that the system may recall particular system parameters that were employed at the time the patient had a given set of parameters. The data regarding the stored patient parameters 820 and the stored system parameters 840 may be tagged with, for example, a time event to associate the two sets of data. Of course any other suitable method or mechanism for associating the data sets may be employed. In some embodiments, the associated data, or a portion thereof, is placed in a lookup table tracking the patient's history of physiological response to changing system parameters 860A.

Referring now to FIG. 21B, an overview of a learning process that may occur with monitoring between blood fluid removal or dialysis sessions is shown. Before, during or after a blood fluid removal or dialysis session is ended 899, system parameters used in the session are stored 840. The system parameters, such as system variables described above, which may include rate of fluid removal from the blood or electrolyte concentration of a dialysate or replacement fluid, as well as any adjustments made during the session that has just ended may be stored in memory and associated with the patient. During one or more time periods between the end of the session 899) and the start of the next session 700, the patient is monitored 810. Monitored patient parameters, such as patient physiological variables as discussed above, are stored 820; e.g., in memory of the blood fluid removal system or in memory of a device capable of communicating with, or a part of, the blood fluid removal system. For example, if monitoring 810, or a portion thereof, occurs via an implanted device, the implantable monitoring device may be configured to wirelessly communicate with a blood fluid removal system or a device capable of communicating with the blood fluid removal system. If monitoring includes assays or other diagnostic procedures for which data is presented to a user, such as a health care provider, the data may be entered into a blood fluid removal system or device in communication with the blood fluid removal system. The set of stored system parameters 840 are associated 850B with a set of patient system parameters 820 so that the system may recall particular system parameters that were employed in prior sessions that resulted in a given set of patient parameters. The data regarding the stored patient parameters 820 and the stored system parameters 840 may be tagged with, for example, a time event to associate the two sets of data. Of course any other suitable method or mechanism for associating the data sets may be employed. In some embodiments, the associated data, or a portion thereof, is placed in a lookup table tracking the patient's history of physiological response to system parameters 860B. Depending on the patient's response (patient monitoring 810) to the prior sessions, the system parameters may be adjusted 83) prior to beginning the next session 700. The patient's responses between sessions may also affect changes made during a session.

Referring now to FIG. 21C, an overview of a learning process that accounts for both inter-session and intra-session patient monitoring is shown. The process depicted in FIG. 21C is mainly a composite of the processes depicted and described above with regard to FIGS. 21A-B. As depicted in FIG. 21C, the process or algorithm may include associating 850A system parameters 840, and adjustments thereof 830, that result in good or bad outcomes with regard to patient parameters 820 and may recall those associations for later use, e.g. in the form of a lookup table 860A for purposes of making future adjustments to system parameters 830 based on patient response 810 within a session. Prior patient responses occurring between prior sessions (i.e., between end of session 899 and beginning of session 700) may also be taken into account (e.g., associated parameters (850B) that include patient parameters obtained between sessions) by, for example, referring to lookup table 860B. If, for example, changes in systems parameters (830) within a session are associated with good (effective) or bad (ineffective) patient responses (810) between sessions, similar changes may be made or avoided, as relevant, within a session. In addition, the patient response (810) to a prior session or the patient's condition (810) before a session may warrant adjustment of system parameters (830) prior to beginning a session (700). The patient response (810) within prior sessions may also be taken into account (e.g., by reference to history table 860A) in making system adjustments prior to beginning a session.

A more detailed embodiment of a within-session learning algorithm, or method is presented in FIG. 23A. In the embodiment depicted in FIG. 22A, a patient is monitored 810 during a blood fluid removal session. It may be desirable to determine whether data acquired from patient monitoring is out of range 813. As used herein, “out of range” means that a value of a monitored parameter exceeds (i.e., is above or below) a predetermined range of values. The predetermined range of values may be indicative of a patient safety concern. If the data is out of range, an alert may be issued 815 or the session may be stopped 817. In some cases, it may be desirable to continue with the session, even if the monitored data, or some aspect thereof is out of range. In the depicted embodiment, if the session is continued, (e.g., due to choice or to the monitored data not being out of range), data regarding the monitored patient parameters is stored 820 and is compared to stored patient data previously obtained (e.g., in a prior session or earlier in the session). A determination may be made as to whether the present patient parameter data is less effective 823 than stored patient parameter data resulting from system parameter adjustments 830 that occurred just prior to the current set of system parameters. If the data is determined to be less effective 823, the stored current patient parameters 820 may be associated 851 with stored current system parameters 840; e.g., as discussed above. In some cases, it may be desirable to determine whether the current patient parameter data, or a portion or aspect thereof, is the least effective that has been detected in the patient in a current or previous blood fluid removal session 825; e.g. by comparing the current patient data to a history of collected patient data. If the current patient data is the least effective observed 825 to date, the stored current patient parameters 820 can be associated 851 with stored current system parameters 840. In this way, only the “least effective” patient conditions are tracked, as opposed to all patient conditions, which can save on memory and processing power. In any case, once the patient and system parameter data is associated 851, the system parameters may be adjusted 830 and the process repeated.

If the present patient parameter data is determined to not be less effective than stored patient parameter data resulting from system parameter adjustments that occurred just prior to the current set of system parameters, a determination may be made as to whether the present patient parameter data is more effective 833 than stored patient parameter data resulting from system parameter adjustments 830 that occurred just prior to the current set of system parameters. If the data is determined to be more effective 833, the stored current patient parameters 820 may be associated 852 with stored current system parameters 840; e.g., as discussed above. In some cases, it may be desirable to determine whether the current patient parameter data, or a portion or aspect thereof, is the most effective that has been detected in the patient in a current or previous blood fluid removal session 835; e.g. by comparing the current patient data to a history of collected patient data (e.g., “history table” in FIG. 21). If the current patient data is the most effective observed 835 to date, the stored current patient parameters 820 can be associated 852 with stored current system parameters 840. In this way, only the “most effective” patient conditions are tracked, as opposed to all patient conditions, which can save on memory and processing power. In any case, once the patient and system parameter data is associated 852, the system parameters may be adjusted 830 and the process repeated.

A more detailed embodiment of a between-session learning algorithm, or method is presented in FIG. 22B. In the embodiment depicted in FIG. 22B, patient is monitored 810 between a blood fluid removal or dialysis sessions. It may be desirable to determine whether data acquired from patient monitoring 810 is out of range 813. If the data is out of range, an alert may be issued 815 prompting the patient to seek medical attention or prompting a health care or an implanted system or device to take action. In some cases, a new session may be begun 700 if patient conditions warrant. If a new session is not initiated, the inter-session process may continue. In the depicted embodiment, if the process is continued, data regarding the monitored patient parameters is stored 820 and is compared to stored patient data previously obtained (e.g., between prior sessions). A determination may be made as to whether the present patient parameter data is less effective 823 than stored patient parameter data obtained between previous sessions. If the data is determined to be less effective 823, the stored current patient parameters 820 may be associated 851 with stored system parameters 840 from the previous session that had ended 899. In some cases, it may be desirable to determine whether the current patient parameter data, or a portion or aspect thereof, is the least effective that has been detected in the patient between blood fluid removal sessions 825; e.g. by comparing the current patient data to a history of collected patient data. If the current patient data is the least effective observed 825 to date, the stored current patient parameters 820 can be associated 851 with stored system parameters 840 from the previous session that had ended 899. In this way, only the “least effective” patient conditions are tracked, as opposed to all patient conditions, which can save on memory and processing power. In any case, once the patient and system parameter data is associated 851, a recommendation as to system parameters to be used in the next session may be made (e.g., the system parameters for the future session can be set 830 based on the patient response or prior patient responses) can be adjusted 830 and the process repeated until the next session begins 700.

If the present patient parameter data is determined to not be less effective than stored patient parameter data obtained from time periods between prior sessions, a determination may be made as to whether the present patient parameter data is more effective 833 than stored patient parameter data obtained from between prior sessions. If the data is determined to be more effective 833, the stored current patient parameters 820 may be associated 852 with stored current parameters 840 from the previous session that had ended 899. In some cases, it may be desirable to determine whether the current patient parameter data, or a portion or aspect thereof, is the most effective that has been detected in the patient in a time between sessions 835; e.g. by comparing the current patient data to a history of collected patient data (e.g., “history table” in FIG. 21). If the current patient data is the most effective observed 835 to date, the stored current patient parameters 820 may be associated 852 with stored system parameters 840 from the previous session that had ended 899. In this way, only the “most effective” patient conditions are tracked, as opposed to all patient conditions, which can save on memory and processing power. In any case, once the patient and system parameter data is associated 852, recommendation system parameters may set 830 based on the patient response or prior patient responses, and the process repeated until the next session begins 700.

It will be understood that the processes or algorithms depicted in, and discussed above with regard to, FIGS. 22A-B may be combined (e.g., in a manner similar to the combination of FIGS. 21A and 21B into FIG. 21C). In this way, setting of system parameters for an upcoming session can take into account how a patient responded to such parameters within prior sessions, or altering of system parameters within a session may take into account how a patient responded to such alterations between prior sessions.

Referring now to FIG. 23A, an embodiment of a method where more than one patient parameter variable is evaluated in a manner similar to that described with regard to FIG. 22A. In the embodiment depicted in FIG. 23A, two patient parameter variables are evaluated. However, it will be understood that any number of patient parameter variables may be evaluated by employing a method as depicted in FIG. 23A or using any other suitable method. In the embodiment depicted in FIG. 23A, the variables are labeled “primary” and “secondary”, as it may be desirable to prioritize patient parameter variables. For example, in some cases it may be desirable to monitor blood pressure and attempt to achieve a stable blood pressure at or near a target range throughout the session because hypotension is one of the most common side effects of blood fluid removal sessions. That is, as long as other patient parameters are not out of a predetermined range, the system may attempt to keep blood pressure in check and make adjustments to that end. However, in some cases, reducing arrhythmias is the primary goal, as many patients for which a blood fluid removal process is indicated dire from complications due to arrhythmias. If arrhythmias are determined to be the primary patient parameter, the blood fluid removal system may attempt to keep arrhythmias in check and make adjustments to this effect without regard to other patient parameters, e.g., as long as the other patient parameters remain within acceptable limits.

The method depicted FIG. 23A includes monitoring patient parameters 810 (at least a primary and secondary patient parameter), storing patient parameter data 820, and determining whether a parameter, or aspect thereof, is out of a predetermined range 813. If the parameter is out of range, an alert may be issued 815, the blood fluid removal session may be stopped 817 or the session may continue. If the parameters are determined to not be out of range 813, the system parameters may be adjusted 843 and stored 840. A determination may then be made as to whether the primary patient parameter is less effective 843, e.g. by comparing current patient parameter data to stored patient parameter data resulting from system parameter adjustments that occurred just prior to the current set of system parameters. If the primary patient parameter is determined to be less effective 843, the current stored patient parameter data may be associated 853 with the current stored system parameters. Alternatively or in addition, a determination may be made as to whether the current patient parameter data regarding the primary parameter is the least effective that has been detected in the patient in a current or previous blood fluid removal session 845; e.g., as discussed above with regard to FIG. 22A. If it is the least effective, the current stored patient parameter data may be associated 853 with the current stored system parameters as described above with regard to FIG. 22A. Similarly determinations as to whether the primary patent parameter data is more effective 853 or the most effective to date 855 can be made and stored system and patient parameters may be associated 854. Similar determinations regarding whether the secondary patient parameter, or a value associated therewith, is less effective 863, the least effective 865, more effective 873, the most effective 875 and appropriate associations 855, 856 can be made. In this manner, the system may identify and learn how system parameters may affect individually monitored patient parameters, such as blood pressure, heart rate, fluid volume, and electrolyte concentration. Based on this information, the system may make choices as to which system parameters may be employed to produce results that are likely to be favorable to the patient.

Referring now to FIG. 23B, an embodiment of a method where more than one patient parameter variable is evaluated between blood fluid removal or dialysis sessions in a manner similar to that described with regard to FIG. 22B. In the embodiment depicted in FIG. 23B, two patient parameter variables are evaluated. However, it will be understood that any number of patient parameter variables may be evaluated by employing a method as depicted in FIG. 23B or using any other suitable method. In the embodiment depicted in FIG. 23B, the variables are labeled “1º” and “2º”. However, such labeling does not necessarily imply that one variable is more important than another. While one variable may, in some circumstances be considered more important, the labeling of “primary” and “secondary” may merely imply that the variables being monitored and tracked are different from one another.

The method depicted FIG. 23B includes ending a blood fluid removal session 899 and storing system parameters 840 from the ended session, which may be done during the session or after the session has ended (as depicted). The method also includes monitoring patient parameters 810 (at least a primary and secondary patient parameter), storing patient parameter data 820, and determining whether a parameter, or aspect thereof, is out of a predetermined range 813. If the parameter is out of range, an alert may be issued 815, prompting the patient to seek medical attention or prompting a healthcare provider or system or device to take action. In some cases, a blood fluid removal process can be initiated 700, e.g. if warranted or desired. If the parameters are determined to not be out of range 813 or if a blood fluid session is not initiated, a determination may be made as to whether the primary patient parameter is less effective 843, e.g. by comparing current patient parameter data to stored patient parameter data resulting from system parameters used in the previous session. If the primary patient parameter is determined to be less effective 843, the current stored patient parameter data may be associated 853 with the stored system parameters from the previous session. Alternatively or in addition, a determination may be made as to whether the current patient parameter data regarding the primary parameter is the least effective that has been detected in the patient between blood fluid removal sessions 845; e.g., as discussed above with regard to FIG. 22B. If it is the least effective, the current stored patient parameter data can be associated 853 with the stored system parameters as described above with regard to FIG. 22B. Similarly determinations as to whether the primary patent parameter data is more effective 853 or the most effective to date 855 can be made and stored system and patient parameters may be associated 854. Similar determinations regarding whether the secondary patient parameter, or a value associated therewith, is less effective 863, the least effective 865, more effective 873, the most effective 875 and appropriate associations 855, 856 can be made. In this manner, the system may identify and learn how system parameters employed in previous sessions may affect individually monitored patient parameters, such as blood pressure, heart rate, fluid volume, and electrolyte concentration. Based on this information, the system may make choices as to which system parameters may be employed in future sessions to produce results that are likely to be favorable to the patient.

As depicted in FIG. 23B, recommended system parameters may be set 830 based on how the patient responded to the prior session or the patient's condition prior to the upcoming session. The recommended system parameters may be adjusted or set 830 more than once during the process of monitoring the patient between sessions or at the end of the inter-session monitoring before initiating the next blood fluid removal session 700.

It will be understood that the processes or algorithms depicted in, and discussed above with regard to, FIGS. 23A-B may be combined (e.g., in a manner similar to the combination of FIGS. 21A and 21B into FIG. 21C). In this way, setting of system parameters for an upcoming session may take into account how a patient responded to such parameters within prior sessions, or altering of system parameters within a session may take into account how a patient responded to such alterations between prior sessions.

Referring now to FIG. 24A, a flow diagram depicting a process where the combined response of two or more patient parameters to changes in system parameters 830 is tracked within a session. For the purposes of convenience some of the steps depicted and described above with regard to FIGS. 22A and 23A are omitted from FIG. 24A. However, it will be understood that the same or similar steps may be employed with regard to the method depicted in FIG. 24A. In the depicted embodiment, patient parameters and system parameters are stored 857, 858 only when both the primary and secondary patient parameters are determined to become less effective 843, 863 or more effective 853, 873. In this manner, the system may identify or learn which system parameters result in desirable (or undesirable) changes in multiple patient parameters.

Referring now to FIG. 24B, a flow diagram depicting a process where the combined response of two or more patient parameters to changes in system parameters 830 is tracked between sessions. For the purposes of convenience some of the steps depicted and described above with regard to FIGS. 22B and 23B are omitted from FIG. 25B. However, it will be understood that the same or similar steps may be employed with regard to the method depicted in FIG. 24B. In the depicted embodiment, patient parameters are stored 857, 858 only when both the primary and secondary patient parameters are determined to become less effective 843, 863 or more effective 853, 873 and can be associated with stored system parameters 840 for the previously ended session 899. In this manner, the system may identify or learn which system parameters result in desirable (or undesirable) changes in multiple patient parameters.

Through the association of patient parameter data and system parameter data as shown in FIGS. 21-24 and discussed above, a history of patient responses, within sessions or between sessions, to changing system parameters may be obtained. This history, which may be in the form of one or more lookup table, may be consulted prior to or during a blood fluid removal session to determine which system parameters, given the patient's physiological parameters at a given point in time, are more likely to cause the patient to respond favorably and which system parameters are more likely to cause the patient to respond negatively. Accordingly, the system may respond by adjusting or setting parameters to those that are more likely to cause the patient to respond favorably.

For example and with reference to FIG. 25, a flow diagram is shown that depicts and embodiment of how stored and associated data (e.g., as discussed above with regard to FIGS. 21-24) can be used to determine which system parameters to use at a given time in or before a blood fluid removal session. The method includes monitoring patient parameters 810, within a blood fluid removal session or between sessions, and consulting history lookup table 880, which may be generated by associating system parameters and patient parameters as described above with regard to FIGS. 21-24. Monitoring the patient 810 may include monitoring physiological variables or receiving input from the patient, a healthcare provider, or the like. A value associated with the current patient parameter data (obtained from monitoring 810) is compared to data regarding a corresponding value in the lookup table, and a determination is made as to whether the current patient parameter is similar to prior patient parameter data stored in the history table 882. By way of example, a value of a current patient parameter data set may be determined to be similar to a corresponding value in the lookup table if the values are within 10%. The system may consult the lookup table to identify the closest corresponding value, if more than one corresponding value is within the predetermined cutoff for being considered similar (e.g., within 10%). As used herein, a “corresponding” value is a value of the same parameter obtained at different times. The value may be a magnitude, a rate of change, an average, or the like. The parameter may be blood pressure, heart rate, fluid volume, concentration of electrolyte, or the like.

If more than one parameter or value of a parameter is compared to data in the lookup table, the system may determine whether each value for each parameter is within the predetermined cutoff for being considered similar and identify a prior patient parameter data set as being most similar by prioritizing or weighting parameters or by summing the percent differences between all of the current values and the corresponding values in the lookup table. Regardless of how the system determines whether a current patient parameter data set is similar, or most similar, to a prior patient data set stored in the history table, a determination may be made as to whether the patient's response to the system parameters associated with the stored patient parameter data table was a favorable response 884; e.g., was “more effective” or “most effective” as discussed above with regard to FIGS. 22-24. If the prior patient response was determined to be a good response, the system parameters may be set or adjusted according to the parameters stored in the lookup table 892. If the prior patient response was considered to not to be similar 882 or good 884, a default table may be consulted 888 which contains non-patient specific system parameters that would generally be considered suitable in general circumstances or that would be considered suitable for a patient presenting with the current physiological parameters. The system parameters may then be set or adjusted according to the parameters stored in the default table 890.

It will be understood that prior patient negative responses (e.g., “less effective”, “least effective to date”) may be stored in a lookup table, accessed and used in a similar manner to that described with regard to the “good” responses in FIG. 25. In some embodiments, separate lookup tables are maintained for “more effective” responses (e.g., an “increased effectiveness” data table) and for “less effective responses” (e.g., a “decreased effectiveness” data table). In some embodiments, the “increased effectiveness” lookup table and the “decreased effectiveness” lookup table are the same data table, which stores patient parameters and associated system parameters that resulted in “more effective”, “most effective”, “less effective” or “least effective” patient parameters. As discussed above, lookup tables may include information regarding patient data obtained within a session or between sessions.

For purposes of example and to provide some clarity with regard to how one (or a blood fluid removal or dialysis system or monitoring system) can determine whether patient parameter data is “out of range”, “more effective”, “less effective”, and the like (e.g., as discussed above with regard to FIGS. 22-24), graphical schematic data is presented in FIG. 26 showing representations of monitored data (not actual data) for blood pressure (BP), heart rate (HR), and potassium concentration in the patient's blood ([K⁺]). In the schematic illustration, a blood fluid removal session is initiated at T1 and is ended at T4. System parameters are changed at times T2 and T3. The patient parameters (BP, HR, [K⁺]) are shown as changing in response to the changes in blood fluid removal system parameters and continuing to change after the session ends. As shown, not all patient parameters will respond similarly (e.g., more effective or less effective) in response to a system parameter change or session. In the depicted schematic illustrations, a desired target value is shown for each patient parameter. If the monitored data value achieves or approaches the target, a determination may be made that the change in system parameter or an overall session resulted in an increased effectiveness or “more effective” state for that parameter. If the monitored data value deviates from the target, a determination may be made that the change in system parameter or overall session parameters resulted in a decreased effectiveness or “less effective” state for that parameter. It will be understood that the timing of the patient parameter response to a change in system parameters may vary greatly from patient parameter to patient parameter. In some cases, changes in a patient parameter may be observed within seconds or minutes of a change in a system parameter. In other cases, a change in a patient parameter in response to a change in a system parameter may take hours or more to be fully appreciated or observed.

In the graphical depictions of the represented monitored data presented in FIG. 27, a lower threshold value and an upper threshold value are depicted by horizontal dashed lines. If the monitored data for a patient parameter exceeds the upper threshold value or crosses below the lower threshold value, a determination may be made that the value for that parameter is “out of range.”

It will be understood that the condition of a patient may deteriorate with time, which is typical of patients having chronic kidney disease. Accordingly, the targets and upper and lower thresholds may vary with time. These targets and thresholds may be modified by input from, for example, a healthcare provider from time to time based on, e.g., the patient's health or status of patient parameters. Alternatively, the system may automatically adjust target or threshold values over time based on population data or based on data of a particular patient indicative of a generally deteriorating condition. If the target or thresholds are adjusted to or near predetermined cutoff values, an alert may be issued to that effect.

Further, target and threshold values for one or more parameters can be modified on a session-by-session basis. For example, if the patient is excessively fluid overloaded prior to a given session, the target or threshold tissue fluid levels may be adjusted upward for the next or current session. The negative consequences of too much fluid removal in one session or at too fast of a rate may outweigh the negative consequences of higher fluid levels remaining in the patient. Additional or more frequent fluid removal sessions may be employed to return the patient to more desirable fluid levels.

As shown in the examples presented in FIG. 26, the patient parameters change over time. In embodiments, values of one or more patient parameters are averaged over a period of time to account for fluctuations that may occur. The averaged value may be compared to the target and thresholds for determining whether a patient is improving. By averaging values over time, the effect of an anomalous value that may deviate significantly from the target value or may be out of bounds may be diminished. Of course, thresholds may be set for single occurrences, for example if the values of those occurrences may present an imminent health concern to the patient. In embodiments, the presence a single occurrence that deviates significantly from other recent occurrences may result in activation of a subroutine or monitoring method for detecting similar subsequent deviations. In embodiments, consecutive significant deviations, a percent of significant deviations within a given number of samples, or the like, may result in activation or an alert or alarm.

Additional examples of systems and teachings useful in practicing the above embodiments can be found in, for example, U.S. Provisional Patent Application No. 61/480,532, filed on Apr. 29, 2011, now expired, and U.S. patent application Ser. No. 13/424,479 filed Mar. 20, 2012, now Publication No. 2012/0273420A1 published on Nov. 1, 2012, both entitled ELECTROLYTE AND pH MONITORING FOR FLUID REMOVAL PROCESSES, U.S. patent application Ser. No. 13/424,429 filed Mar. 20, 2012, now Publication No. 2012/0277551A1 published on Nov. 1, 2012, entitled INTERSESSION MONITORING FOR BLOOD FLUID REMOVAL THERAPY, and U.S. Provisional Patent Application No. 61/480,544, filed on Apr. 29, 2011, now expired, and U.S. patent application Ser. No. 13/424,525 filed Mar. 20, 2012, now Publication No. 2012/02777552A1 published on Nov. 1, 2012, both entitled CHRONIC pH OR ELECTROLYTE MONITORING, all which applications are hereby incorporated herein by reference in their entirety to the extent that they do not conflict with the present disclosure.

EXAMPLES Example 1

Objective

This example is carried out in an effort to illustrate changes in skeletal muscle potential in response to variations in serum potassium concentration. The changes in skeletal muscle potential are effected via electrical excitation externally applied to the animal. The electrical excitation in this example is provided via a pulse stimulator coupled to an amplifier. Animal is infused with an externally applied potassium load and serum potassium concentrations are measured from the blood samples taken periodically. If this can be done, the procedure may be useful and significant in providing a method of monitoring potassium concentration without the subject having to go through the inconvenience and sometimes painful experiences associated with periodic blood sampling.

Experimental Setup

An exemplified pulsing schedule is generated for stimulating the skeletal muscle at varying rates. Briefly, the pulsing schedule generates a set of pulse stimulation every two seconds. Each set of pulse consists of a train of five pulses and the each pulse within this train lasts only 10 milli-seconds, which is referred to as ON-time. The OFF-time between the five pulses is altered to change the effective frequency of the pulse train. Stimulation starts at a frequency of f=5 Hz (period=1/freq=200 milli-seconds) and the frequency of stimulation is increased by one Hertz at each pulse, giving a series of frequencies, 5 Hz, 6, Hz, 7 Hz and so on. Stimulation is turned off for two second after the delivery of the last pulse train at f=40 Hz. Afterwards, the process is repeated using an infinite loop. In this connection, FIG. 31 depicts a timing diagram of the resulting pulse trains.

As depicted in FIG. 31, the timing diagram for the pulse stimulation includes five pulses delivered starting at f=5 Hz and the frequency of stimulation is increased by 1 Hz every two seconds, until the frequency of stimulation has reached to f=40 Hz, while the serum potassium concentration is kept relatively constant.

FIG. 32 depicts an exemplified experimental setup. Briefly, a pulse generator in the form of a stimulator is connected to an amplifier, which in turn is connected to the muscle in the hind leg of an anesthetized canine using skin penetrating electrodes. At the same time, an optical strain gauge placed on a cantilever beam is used to measure the bulging of the muscle as it contracts under isometric conditions. Animal is infused with 0.4 mM potassium chloride solution at a rate of 100 to 200 mL/hour for 5 hours to induce hyperkalemia. Serum potassium concentrations are measured from the blood samples taken every 15 minutes. Stimulation is applied soon after the collection of the blood samples to assure close correlation to measured potassium values. The serum potassium concentration increases quite steadily as a function of time (not shown).

Responses from the strain gauge sensor recorded (not shown) each at blood potassium concentrations of [K+]=5.6 mM and [K+]=13.2 mM, respectively. At [K+] of 5.6 mM, time (in milli-seconds) versus force (in arbitrary units) trace of the skeletal muscle while pulse stimulation containing five pulses are delivered starting at f=5 Hz to f=14 Hz. At [K+] of 13.2 mM, time (in milli-seconds) versus force (arbitrary units) trace of the skeletal muscle while pulse stimulation containing five pulses are delivered starting at f=5 Hz to f=14 Hz while the serum potassium concentration [K⁺] is at 13.2 mM. It appears that relatively greater responses as recorded by the strain gauge sensor are observed with higher potassium concentration [K+] of 13.2 mM as compared to lower potassium concentration of [K+] of 5.6 mM. In both cases, the first mechanical response shown during the time indices t=1 sec and t=2 sec are believed to be due to the application of a pulse stimulation at f=5 Hz, the second mechanical response shown during the time indices t=3 sec and t=4 sec are believed to be due to the application of a pulse stimulation at f=6 Hz., and so on.

FIG. 33 demonstrates time (in milli-seconds) versus force (arbitrary units) trace of the skeletal muscle while pulse stimulation containing five pulses are delivered at f=5 Hz while the serum potassium concentration [K⁺] is changed from 3.6 mM to 13.2 mM. In particular, FIG. 33 demonstrates that the mechanical response obtained with the application of the stimulation at f=5 Hz while the serum potassium concentrations are changed from [K+]=3.6 mM to [K+]=13.2 mM. In that diagram, vertical scale of each trace is the same, but the vertical offset is increased to separate the traces for ease of visualization. As can be viewed from FIG. 33, the amplitude of the mechanical response of the skeletal muscle, as measured by the strain-gauge sensing the bulking of the muscle, increase as the serum potassium concentration increases.

In order to quantify the mechanical response of the stimulated muscle as recorded by the strain gauge, a number of points along the response line are selected and are depicted in FIG. 34. In particular, FIG. 34 demonstrates the selection of data points A and B for the computation of the response, wherein the computed response is the difference in the amplitudes of the signal at times labeled as A and B. Point A represents the minimum of the mechanical response trace prior to the 5^(th) peak, and point B represents the maximum of the mechanical response trace during the 5^(th) peak. Point C: Baseline value of mechanical response trace following the 5^(th) peak. The following two equations are used to compute the responses: CR1=MB−MC CR2=MB−MA

In the equations shown immediately above, CR1 and CR2 represent the computed responses, and MA, MB and MC each represent the mechanical response at points A, B and C.

FIG. 35 shows the computed response CR1 as a function of the serum potassium concentration. It should be noted that the response is fairly linear in the clinically significant range of hyperkalemia, i.e. [K+]=5 mM to [K+]=9 mM. Furthermore, the anomalies in the behavior of the computed response CR1 at the low serum concentrations of [K+]=3 mM to [K+]=5 mM are believed to be due to experimental artifacts as the body initially struggles to compensate for the sudden infusion of bolus amount of potassium, until the hyperkalemia is established.

Muscle response can be sensed using an external transducer. In this case, the bulging of the muscle in its mid-section during a contraction can be detected using a pressure sensor. Such a pressure sensor may be pressed onto the muscle through the skin, or be sensing the bulging via a secondary linkage system. In this example, a strain gauge is mounted onto a cantilever beam where the bulging of the contracted muscle changes the strain on the beam, which in turn is detected by the strain gauge. Alternatively, a blood pressure cuff can be used to detect the bulging of the muscle. In this case, the blood pressure cuff is inflated to a pressure that is sufficient to make good contact with the skin, such as 50 mm Hg. Afterwards, the pulse stimulation at the frequency of f=5 Hz is applied and the resulting pressure waveform is analyzed as described above. This system has the advantage of measuring the blood pressure along with the changes in the serum potassium concentrations.

Conclusion

This example as described herein demonstrates that changes in skeletal muscle potential can be response indicators for variations in serum potassium concentration. This is useful and significant at least in that potassium concentration monitoring can be made possible without the subject having to go through the inconvenience and sometimes painful experiences associated with periodic blood sampling; instead, potassium concentration monitoring can be conducted via a procedurally more convenient route such as external pressure sensor and blood pressure cuff.

Example 2

Objective

This Example is conducted to determine if changes in the serum potassium concentration during dialysis can be detected by changes in the features of the ECG (electrocardiog-raphy), using data from the PODS (Potassium Observation in Dialysis Subjects Study). As detailed herein below, dialysis subjects are recruited and monitored in an effort to optimize their dialysis regimen and reduce their mortality and morbidity. Particularly various ECG features are reviewed in response to the potassium concentration changes and the ECG features that represent the most significant and/or consistent changes are identified for this subject population based on the data from the PODS. The data may then be used for the design of a detection algorithm for abnormality hypokalemia in heart failure subjects.

Experimental Setup

The PODS study is a single center, acute, non-randomized feasibility study in which data from 23 hemodialysis subjects are obtained via an external DR-180+ holter monitor and AUDICOR heart sounds holter. A 12-lead ECG is recorded continuously during a dialysis session using the DR-180+ recorder. Blood samples for electrolyte measurements are collected 15 minutes prior to dialysis, at 1 hour and 3 hours after the onset of dialysis, and 15 minutes after completion of dialysis.

The ECG signal(s) analyzed from the DR-180 holter are leads II, V2, V3, and V4. The primary analysis is done using the best signal available amongst the selected leads in order to maximize detection of P-waves, which can be very small for some subjects, and visually observable on maybe only one lead. A duplicate run is conducted using lead II only for obtaining a direct comparison to the run conducted on the best lead.

The following ECG features are measured: P-R interval, R-wave amplitude, QRS duration, T-wave amplitude, T-wave flatness, T-wave asymmetry, QT interval, QTc interval, TR amplitude ratio, T-slope and T-slope over amplitude.

Most of the ECG markers are evident from the diagram in FIG. 36. Amplitude measurements are made in the arbitrary units recorded in the file. QTc is the QT interval cor-rected for heart rate.

The T-wave flatness metric is based on kurtosis which describes the peakedness of a probability distribution. In this case, calculation of flatness characterizes the distribution of samples taken during the T-wave. The amplitude of the signal samples during the T-wave window are normalized to obtain a unit area and flatness is calculated as an inverse function of the fourth central moment, or kurtosis.

The formulas for the central moments used are given below:

$M_{1} = {\sum\limits_{n = 0}^{N - 1}{n \cdot {V(n)}}}$ $M_{k} = \left\lbrack {\sum\limits_{n = 0}^{N - 1}{\left( {n - M_{1}} \right)^{k} \cdot {V(n)}}} \right\rbrack$

As referenced in the formula shown above, M_(k) is the k'th central moment, V(n) is the T-wave, and n is the sample number. To find the point to use for Ton (start of the T-wave) given different baseline points, the minimum samples between the end of R-wave and the peak of the T-wave, and then between the peak of the T-wave and the end of the T-wave are found. The maximum of these two points is used as the baseline for finding the area of the T-wave. The points closest to the T-wave peak, both before and afterwards, which have signal amplitudes equal to this baseline are used to define the start and end of the T-wave window.

T-wave asymmetry evaluates differences in slope and duration of the ascending and descending parts of the T-wave. The time derivative of the T-wave is calculated and divided into two segments at the peak of the T-wave. Both segments are normalized with the maximum derivative within that segment. The descending T-wave is then flipped across the y-axis and x-axis and matched against the ascending segment. The segments are compared sample by sample, and the asymmetry score is calculated as the residual between the two segments. The point 50 ms after the end of the R wave is used for the start of the T-wave. Andersen, et al. preprocesses the data by calculating median beats, constructing XYZ vectors (a linear combination of leads I-II and V1-V6 which creates 3 orthogonal leads), and performing Principal Component Analysis to optimize for ST-T segment information and improve stability and repeatability of measurements. Principal Component Analysis is a technique which converts a set of observations of possibly correlated variables into a set of values of linearly uncorrelated variables called principal components. These preprocessing steps are not done with this data other than calculating median beats.

T-slope is the slope of the line drawn between the peak of the T-wave and the end of the T-wave, as shown in FIG. 37. T-slope over amplitude is the reciprocal of the time from the peak of the T-wave to the end of the T-wave, as shown below.

${T\text{-}{slope}\mspace{14mu}{over}\mspace{14mu}{amplitude}} = {\frac{\frac{Amplitude}{\left( {{\,^{T}{end}} - {\,^{T}{peak}}} \right)}}{Amplitude} = \left( {{\,^{T}{end}} - {\,^{T}{peak}}} \right)}$

Plots are made to show the trend of each parameter throughout the course of dialysis, against the potassium values. Histogram plots are also made of the difference in each ECG parameter between the final blood draw and the initial blood draw. The plots in the PODS study report show the potassium axis on a scale from largest to smallest as dialysis removes potassium from the body.

Results—ECG Changes Seen on Leads II, V2, V3 and V4

The serum potassium concentrations of subjects decrease during the first hour of dialysis for all the subjects examined in the PODS. Most subjects continue to experience decreases in potassium levels through the end of dialysis, although some experience increases after 1 hour or 3 hours.

The ECG markers are measured from 60-second sections of data measured within 5 minutes of the blood draw times using the “best” of leads II, V2, V3, and V4 for each subject.

The ECG features showing the most consistent changes during dialysis are T/R amplitude ratio, T-slope, T-wave amplitude, and R-wave amplitude. As can be observed from the following figures, and as serum potassium concentration decreases, the T-wave amplitude decreases in general, the R-wave amplitude increases in general, the T-wave flatness increases in general, and T-slope decreases in general. More particularly, and as shown in the following Figures, the mean change in R-wave amplitude is 24.2%, with a range of change of from −8.9% to 90.2%, the mean change in T-wave amplitude is 25.5% with a range of change of from −93.1% to 59.7%, the mean change in T-wave flatness is 7.3% with a range of change of from −3.0% to 38.2%, and the mean change in T-slope is −31.2% with a range of change of from −94.% to 42.5%.

The following figures including FIG. 38 to FIG. 42, open circles represent data obtained prior to dialysis, filled circles represent data 1 hour into dialysis, open squares represent data 3 hours into dialysis, and filled squares represent data after dialysis. These figures are plotted against corresponding serum potassium concentration values. The X-axis scale on the dot plots is reversed to show progression during dialysis from left to right as potassium concentration is marked from greater at the left to smaller at the right.

From the results obtained according to this Example, the following ECG features (values not shown) either do not change significantly or do not change consistently for the period of dialysis as examined: the P-R interval, the QRS duration, the QT interval, the QTc interval, the T-wave asymmetry, and T-slope over amplitude.

However, several ECG features do change significantly and/or consistently for the period of dialysis as examined. For instance, and as demonstrated in FIG. 38, R-wave amplitudes increase significantly and/or consistently during dialysis, with the majority of the examined subjects exhibiting a mean increase of 24.2%.

FIG. 39 demonstrates that T-wave amplitudes decrease significantly and/or consistently during dialysis, with a mean decrease of −25.5%. FIG. 40 demonstrates that T/R wave amplitude ratios decrease significantly, with the majority of the examined subjects exhibiting decreases as large as −94.8%. As the T/R amplitude ratio is the ratio between the T-amplitude and the R-amplitude, while exhibiting significant changes as reported herein, the T/R amplitude ratio is not a completely independent parameter.

In addition, FIG. 41 demonstrates that T-wave flatness measurements increase significantly and/or consistently, with a mean increase of 7.3%. FIG. 42 demonstrates that T-slope decrease significantly, with a mean decrease of −31.2%.

Results—on the Lead II Only

The results using lead II only for all subjects are also analyzed to see whether similar changes can be observed on the most Reveal-like vector. In this part of the Example, the best leads analysis detailed above is believed to provide a relatively higher likelihood of detecting the P-waves and the T-waves with dependable measures, as the leads are selected to have larger P- and T-waves with less noise. The lead II only analysis is included to give an estimate of the loss of sensitivity in the metrics of a less-than-optimal lead.

The following ECG features continue to elicit significant and/or consistent changes during dialysis that are comparable to those elicited in the best lead analysis: the R-wave amplitude, the T-wave amplitude and the T/R amplitude ratio. However, the changes seen with the T-wave amplitude and the T/R amplitude referenced in the lead II only analysis are not as sub-stantially as those seen with the best lead analysis.

The other ECG markers have very similar changes using only lead II for analysis as compared to using the best lead. For instance, the following ECG features continue to elicit insignificant and/or inconsistent changes during dialysis for the period examined: the P-R interval, the QRS duration, the QT interval, the T-wave asymmetry, and the QTc measurement.

FIG. 43 demonstrates that R-wave amplitudes increase significantly, with the majority of the examined subjects exhibiting an increase of up to 66.2% in the R-wave amplitude.

FIG. 44 demonstrates that T-wave amplitudes change inconsistently and/or insig-nificantly among the subjects examined. This suggests that the precordial leads may exhibit relatively greater sensitivity to T-wave changes due to potassium. In certain instances, however, changes to R-wave amplitude may be more stably maintained in response to serum potassium concentration variation in comparison to T-wave amplitude. Without wanting to be limited to any particular theory, it is believed that most ECG leads give a good representation of the R-wave, so changes in depolarization are likely to be seen on all vectors. R-wave amplitude may also be more sensitive to filtering. Changes in repolarization as reflected in T-waves may be more sensitive to vector, but may be seen at lower potassium levels, so may be an earlier indicator of hyperkalemia, and better indicator of potassium abnormality. Both R-wave amplitude and T-wave metrics are of interest as markers.

FIG. 45 demonstrates that the T/R ratios decrease significantly, with the majority of the examined subjects exhibiting a decrease of up to −91.6%. FIG. 46 demonstrates that T-slope measurements decrease significantly, with the majority of the examined subjects exhibiting a decrease as much as −90.8%. This appears to suggest that when lead of different sensitivity is used, at least three of the three ECG features, the T-wave amplitude, the R-wave amplitude, the T/R amplitude ratio, and the T-slope, may each be readily used as markers or indicators for serum potassium concentration changes.

In comparison to above-mentioned data seen with the best lead analysis, changes in T-wave flatness, T-slope over amplitude are not as substantial. This again may suggest that these two ECG features may be vector dependent to some extent. FIG. 47 demonstrates performance of the T-wave flatness.

Repeatability Analysis

Of the subjects examined, three are enrolled twice for this reproducibility or repeatability analysis. The following four ECG features are measured and the measured values (not shown) are consistently similar and comparable to those seen with the first session run: the R-wave amplitude, the T-wave amplitude, the T/R amplitude ratio and the T-slope.

Conclusions

In the PODS described herein above, certain ECG markers are measured at times corresponding to various blood draws throughout a dialysis session. The ECG changes during dialysis are described and quantified. The analysis is done using the “best lead” with largest P and T waves at baseline, and repeated using only lead II, which most closely resembles the Reveal electrogram. The best lead is usually V4 or V2. The serum potassium levels in the subjects range from 2.3 to 5.5 mM, so some subjects start the dialysis session with a potassium level slightly above normal levels and some conclude the session at sub-normal levels, but no subject have potassium levels in a dangerous range. The ECG metrics showing the largest and most consistent changes with change in potassium are T/R amplitude ratio, T-slope, T-wave amplitude, and R-wave amplitude.

The particular embodiments disclosed above are illustrative only, as the invention may be modified and practiced in different but equivalent manners apparent to those skilled in the art having the benefit of the teachings provided herein. Furthermore, no limitations are intended with respect to the details of construction or the design shown herein, other than as described in the claims below. It is therefore evident that the particular embodiments disclose above may be altered or modified and that all such variations are considered to be within the scope and spirit of the present invention. 

We claim:
 1. A method performed by a processor comprising: connecting at least one electrocardiogram sensor to a subject to receive one or more electrocardiogram features; applying an electrocardiogram algorithm to the one or more electrocardiogram features to obtain an indicator for serum potassium concentration of the subject, wherein the electrocardiogram algorithm includes one or more of the following operational rules: i) the output on the serum potassium concentration being a function of the R-wave amplitude; ii) the output on the serum potassium concentration being a function of the T-wave amplitude; iii) the output on the serum potassium concentration being a function of the T/R ratio; and iv) the output on the serum potassium concentration being a function of the T-wave flatness; applying a forward computational procedure to the output to generate a risk score; and issuing an alert indicating a condition of hyperkalemia, hypokalemia or arrhythmia of the subject based on the risk score; wherein the electrocardiogram sensor includes one or more electrocardiogram electrodes for receiving one or more electrocardiogram features from the subject, the one or more electrocardiogram features including T-wave amplitude, R-wave amplitude, T-slope, ratio of Twave amplitude to R-wave amplitude (T/R ratio), and T-wave flatness; and wherein the processor applies further comprising an electrocardiogram algorithm for producing the output on the serum potassium concentration in the subject based on the value of the one or more electrocardiogram features, wherein the electrocardiogram algorithm is programmed into a computer readable medium and includes one or more of the following operational rules: i) the output on the serum potassium concentration being a function of the R-wave amplitude; ii) the output on the serum potassium concentration being a function of the Twave amplitude; iii) the output on the serum potassium concentration being a function of the T/R ratio; and iv) the output on the serum potassium concentration being a function of the T-wave flatness.
 2. The method of claim 1, wherein the processor adjusts the forward computational procedure for future use according to an error signal based on the risk score and actual patient outcome.
 3. The method of claim 2, wherein the processor applies the same forward computational procedure in response to the error signal being zero.
 4. The method of claim 1, wherein the processor produces an output of the serum potassium concentration based on a value of the one or more electrocardiogram features. 